Makefile.mk 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. DDCCI_TARGET_O=
  2. include $(BUILD_DIR)/compile/$(CONFIG_CHIP)/common.inc
  3. VPATH = $(USER_DDCCI_DIR)/src
  4. INCLUDES = -I$(SDK_DIR)
  5. INCLUDES += -I$(SDK_COMMON_DIR)
  6. INCLUDES += -I$(SDK_COMMON_DIR)/Event
  7. INCLUDES += -I$(SDK_COMMON_DIR)/Assert
  8. INCLUDES += -I$(SDK_COMMON_DIR)/OSD/inc
  9. INCLUDES += -I$(SDK_COMMON_DIR)/Util/Utilities/inc
  10. INCLUDES += -I$(SDK_COMMON_DIR)/Util/HvQueue/inc
  11. INCLUDES += -I$(SDK_COMMON_DIR)/MemParser
  12. INCLUDES += -I$(SDK_COMMON_DIR)/Timer/inc
  13. INCLUDES += -I$(SDK_VOS_DIR)/inc
  14. INCLUDES += -I$(SDK_VOS_DIR)/risc/inc
  15. INCLUDES += -I$(SDK_VOS_DIR)/freertos/FreeRTOS/Source/include
  16. INCLUDES += -I$(SDK_DRIVER_DIR)/UsbHost/fatfs
  17. INCLUDES += -I$(SDK_VOS_DIR)/freertos/FreeRTOS/Include
  18. INCLUDES += -I$(SDK_VOS_DIR)/freertos/FreeRTOS/Source/portable/GCC/RISC32
  19. INCLUDES += -I$(USER_DDCCI_DIR)/inc
  20. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/ChannelManager/Audio/inc
  21. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/OSD/inc
  22. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/AppInterface
  23. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/InputPortManager/inc
  24. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/InputPortManager/Ddcci/inc
  25. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/InputPortManager/HDCP/inc
  26. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/InputPortManager/HDMI/inc
  27. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/InputPortManager/DisplayPort/inc
  28. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/ChannelManager/Video/inc
  29. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/ChannelManager/inc
  30. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/RunTime/SystemTask/inc
  31. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/RunTime/UsbTask/inc
  32. INCLUDES += -I$(USER_DIR)/$(CONFIG_VENDOR)/$(CONFIG_PROJECT)/System/EventHub/inc
  33. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/PowerManager/inc
  34. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/PanelManager/inc
  35. INCLUDES += -I$(SDK_DRIVER_DIR)/Peripheral/Drv/Inc
  36. INCLUDES += -I$(SDK_DRIVER_DIR)/Peripheral/Cal/$(CONFIG_CHIP)/Inc
  37. INCLUDES += -I$(SDK_DRIVER_DIR)/HDCP/inc
  38. INCLUDES += -I$(SDK_DRIVER_DIR)/HDCP/drv/inc
  39. INCLUDES += -I$(SDK_DRIVER_DIR)/HDCP/Engine/Common/inc
  40. INCLUDES += -I$(SDK_DRIVER_DIR)/HDMI/drv/inc
  41. INCLUDES += -I$(SDK_DRIVER_DIR)/HDMI/cal/$(CONFIG_CHIP)/inc
  42. INCLUDES += -I$(SDK_DRIVER_DIR)/HDMI/cal/common
  43. INCLUDES += -I$(SDK_DRIVER_DIR)/DisplayPort/drv/inc
  44. INCLUDES += -I$(SDK_DRIVER_DIR)/DisplayPort/cal/$(CONFIG_CHIP)/inc
  45. INCLUDES += -I$(SDK_DRIVER_DIR)/OSD/drv/inc
  46. INCLUDES += -I$(SDK_DRIVER_DIR)/Audio/drv/inc
  47. INCLUDES += -I$(USER_OSD_DIR)/Behaviour/inc
  48. INCLUDES += -I$(USER_OSD_DIR)/Common/inc
  49. INCLUDES += -I$(USER_OSD_DIR)/Resource/Composer/inc
  50. INCLUDES += -I$(USER_OSD_DIR)/Resource/Matrix/include
  51. INCLUDES += -I$(SDK_DRIVER_DIR)/DPU/PQ/inc/
  52. INCLUDES += -I$(USER_DATABASE_DIR)/inc
  53. INCLUDES += -I$(USER_DIR)/$(CONFIG_VENDOR)/$(CONFIG_PROJECT)
  54. INCLUDES += -I$(USER_DIR)/$(CONFIG_VENDOR)/$(CONFIG_PROJECT)/Panel/inc
  55. INCLUDES += -I$(USER_DIR)/$(CONFIG_VENDOR)/$(CONFIG_PROJECT)/Keypad/Inc
  56. INCLUDES += -I$(USER_DIR)/$(CONFIG_VENDOR)/$(CONFIG_PROJECT)/System
  57. INCLUDES += -I$(USER_DIR)/$(CONFIG_VENDOR)/$(CONFIG_PROJECT)/PQ/inc
  58. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/Factory/inc
  59. INCLUDES += -I$(SDK_BOOT_DIR)/../Driver/Arch/$(CONFIG_CHIP)
  60. INCLUDES += -I$(USER_PQ_DIR)/inc
  61. INCLUDES += -I$(USER_EDID_DIR)
  62. INCLUDES += -I$(USER_DIR)/$(CONFIG_VENDOR)/$(CONFIG_PROJECT)/OTA
  63. INCLUDES += -I$(SDK_DRIVER_DIR)/DisplayCtrl/inc
  64. INCLUDES += -I$(SDK_DRIVER_DIR)/Arch/$(CONFIG_CHIP)
  65. INCLUDES += -I$(SDK_DRIVER_DIR)/Arch/$(CONFIG_CHIP)/regs
  66. INCLUDES += -I$(SDK_DRIVER_DIR)/DisplayCtrl/cal/$(CONFIG_CHIP)/reg/inc
  67. INCLUDES += -I$(SDK_DRIVER_DIR)/DPU/PQ/cal/$(CONFIG_CHIP)/reg/inc
  68. INCLUDES += -I$(USER_DDCCI_PRODUCT_DIR)/inc
  69. DDCCI_LIB=$(BUILD_OUT_IMG_DIR)/libddcci.a
  70. include $(USER_DDCCI_PRODUCT_DIR)/Makefile.mk
  71. release:$(DDCCI_LIB)
  72. debug:$(DDCCI_LIB)
  73. OBJ_DDCCI_C = $(wildcard $(USER_DDCCI_DIR)/src/*.c)
  74. OBJ_DDCCI_C_NODIR = $(notdir $(OBJ_DDCCI_C))
  75. OBJ_DDCCI_C_O = $(OBJ_DDCCI_C_NODIR:%.c=%.o)
  76. DDCCI_TARGET_O += $(OBJ_DDCCI_C_O)
  77. DDCCI_NO_DIR_O = $(DDCCI_TARGET_O)
  78. DDCCI_WITH_DIR_O= $(addprefix $(BUILD_OUT_OBJ_DIR)/,$(DDCCI_NO_DIR_O))
  79. $(DDCCI_LIB):$(DDCCI_NO_DIR_O)
  80. $(HEADER)$(AR) qc $@ $(DDCCI_WITH_DIR_O)
  81. $(HEADER)$(RANLIB) $@