Makefile.mk 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. COMMON_TARGET_O=
  2. include $(BUILD_DIR)/compile/$(CONFIG_CHIP)/common.inc
  3. VPATH =
  4. INCLUDES = -I$(SDK_DIR)/Common
  5. VPATH += $(SDK_COMMON_DIR)/Debug/src
  6. INCLUDES += -I$(SDK_COMMON_DIR)/Event
  7. INCLUDES += -I$(SDK_COMMON_DIR)/Assert
  8. INCLUDES += -I$(SDK_COMMON_DIR)/Timer/inc
  9. INCLUDES += -I$(SDK_COMMON_DIR)/TimingDatabase/inc
  10. INCLUDES += -I$(SDK_COMMON_DIR)/Util/Utilities/inc
  11. INCLUDES += -I$(SDK_COMMON_DIR)/Util/HvQueue/inc
  12. INCLUDES += -I$(USER_OSD_DIR)/Behaviour/inc
  13. INCLUDES += -I$(USER_OSD_DIR)/Common/inc
  14. INCLUDES += -I$(USER_OSD_DIR)/Resource/Composer/inc
  15. INCLUDES += -I$(SDK_DRIVER_DIR)/OSD/drv/inc
  16. INCLUDES += -I$(SDK_DRIVER_DIR)/OSD/cal/$(CONFIG_CHIP)/inc
  17. INCLUDES += -I$(USER_OSD_DIR)/Resource/Matrix/include
  18. INCLUDES += -I$(USER_DATABASE_DIR)/inc
  19. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/OSD/inc
  20. INCLUDES += -I$(SDK_BOOT_DIR)/../Driver/Arch/$(CONFIG_CHIP)
  21. INCLUDES += -I$(ROOT_DIR)/user/$(CONFIG_VENDOR)/$(CONFIG_PROJECT)
  22. INCLUDES += -I$(ROOT_DIR)/user/$(CONFIG_VENDOR)/$(CONFIG_PROJECT)/System
  23. INCLUDES += -I$(SDK_DRIVER_DIR)/Peripheral/Cal/$(CONFIG_CHIP)/Inc
  24. INCLUDES += -I$(SDK_DRIVER_DIR)/Peripheral/Drv/Inc
  25. INCLUDES += -I$(ROOT_DIR)/user/$(CONFIG_VENDOR)/$(CONFIG_PROJECT)/Panel/inc
  26. INCLUDES += -I$(USER_PQ_DIR)/inc
  27. INCLUDES += -I$(USER_LED_DIR)/inc
  28. include $(SDK_COMMON_DIR)/Debug/Makefile.mk
  29. include $(SDK_COMMON_DIR)/Util/Makefile.mk
  30. include $(SDK_COMMON_DIR)/Timer/Makefile.mk
  31. include $(SDK_COMMON_DIR)/TimingDatabase/Makefile.mk
  32. include $(SDK_COMMON_DIR)/MemParser/Makefile.mk
  33. COMMON_LIB=$(BUILD_OUT_IMG_DIR)/libcommon.a
  34. release:$(COMMON_LIB)
  35. debug:$(COMMON_LIB)
  36. COMMON_NO_DIR_O = $(COMMON_TARGET_O)
  37. COMMON_WITH_DIR_O= $(addprefix $(BUILD_OUT_OBJ_DIR)/,$(COMMON_NO_DIR_O))
  38. $(COMMON_LIB):$(COMMON_NO_DIR_O)
  39. $(HEADER)$(AR) qc $@ $(COMMON_WITH_DIR_O)
  40. $(HEADER)$(RANLIB) $@