rules.mk 724 B

12345678910111213141516171819202122
  1. LOCAL_DIR := $(GET_LOCAL_DIR)
  2. INCLUDES += -I$(LOCAL_DIR)/include
  3. INCLUDES += -Iplatform/$(PLATFORM)/include/platform
  4. ##############################################################################
  5. # Check build type. (End)
  6. ##############################################################################
  7. ifeq ($(MTK_EMMC_SUPPORT),yes)
  8. ifneq ($(filter MTK_NEW_COMBO_EMMC_SUPPORT, $(strip $(DEFINES))),)
  9. OBJS += $(LOCAL_DIR)/combo_emmc_ufs_generic_inter.o
  10. else
  11. OBJS += $(LOCAL_DIR)/emmc_generic_inter.o
  12. endif
  13. else ifeq ($(MTK_UFS_SUPPORT),yes)
  14. OBJS += $(LOCAL_DIR)/combo_emmc_ufs_generic_inter.o
  15. #else ifeq ($(MTK_NAND_UBIFS_SUPPORT),yes)
  16. else
  17. OBJS += $(LOCAL_DIR)/nand_generic_inter.o
  18. endif # ifeq ($(MTK_EMMC_SUPPORT),yes)