Makefile.mk 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. EDID_TARGET_O=
  2. include $(BUILD_DIR)/compile/$(CONFIG_CHIP)/common.inc
  3. VPATH = $(USER_EDID_DIR)/
  4. INCLUDES = -I$(SDK_DIR)
  5. INCLUDES += -I$(SDK_COMMON_DIR)
  6. INCLUDES += -I$(SDK_BOOT_DIR)/../Driver/Arch/$(CONFIG_CHIP)
  7. INCLUDES += -I$(SDK_VOS_DIR)/inc
  8. INCLUDES += -I$(SDK_VOS_DIR)/risc/inc
  9. INCLUDES += -I$(USER_EDID_DIR)/
  10. INCLUDES += -I$(USER_EDID_DIR)/hdmi
  11. INCLUDES += -I$(USER_EDID_DIR)/dp
  12. INCLUDES += -I$(USER_DIR)/$(CONFIG_VENDOR)/$(CONFIG_PROJECT)
  13. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/InputPortManager/inc
  14. INCLUDES += -I$(SDK_COMMON_DIR)/Event
  15. INCLUDES += -I$(SDK_COMMON_DIR)/Assert
  16. INCLUDES += -I$(SDK_COMMON_DIR)/Util/Utilities/inc
  17. INCLUDES += -I$(SDK_COMMON_DIR)/Util/HvQueue/inc
  18. INCLUDES += -I$(SDK_COMMON_DIR)/Timer/inc
  19. INCLUDES += -I$(SDK_COMMON_DIR)/Database/inc
  20. INCLUDES += -I$(USER_DATABASE_DIR)/inc
  21. INCLUDES += -I$(ROOT_DIR)/user/$(CONFIG_VENDOR)/$(CONFIG_PROJECT)/System
  22. INCLUDES += -I$(SDK_DRIVER_DIR)/Peripheral/Drv/Inc
  23. INCLUDES += -I$(USER_OSD_DIR)/Behaviour/inc
  24. INCLUDES += -I$(USER_OSD_DIR)/Resource/Composer/inc
  25. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/OSD/inc
  26. INCLUDES += -I$(SDK_DRIVER_DIR)/HDCP/inc
  27. INCLUDES += -I$(SDK_DRIVER_DIR)/HDCP/drv/inc
  28. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/RunTime/SystemTask/inc
  29. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/ChannelManager/inc
  30. EDID_LIB=$(BUILD_OUT_IMG_DIR)/libedid.a
  31. release:$(EDID_LIB)
  32. debug:$(EDID_LIB)
  33. OBJ_EDID_C = $(wildcard $(USER_EDID_DIR)/*.c)
  34. OBJ_EDID_C_NODIR = $(notdir $(OBJ_EDID_C))
  35. OBJ_EDID_C_O = $(OBJ_EDID_C_NODIR:%.c=%.o)
  36. EDID_TARGET_O += $(OBJ_EDID_C_O)
  37. EDID_NO_DIR_O = $(EDID_TARGET_O)
  38. EDID_WITH_DIR_O= $(addprefix $(BUILD_OUT_OBJ_DIR)/,$(EDID_NO_DIR_O))
  39. $(EDID_LIB):$(EDID_NO_DIR_O)
  40. $(HEADER)$(AR) qc $@ $(EDID_WITH_DIR_O)
  41. $(HEADER)$(RANLIB) $@