LOCAL_DIR := $(GET_LOCAL_DIR) | |
MODULE := ${LOCAL_DIR} | |
GLOBAL_INCLUDES += \ | |
$(LOCAL_DIR)/include | |
MODULE_SRCS += \ | |
$(LOCAL_DIR)/target.c | |
PLATFORM := mt2731 | |
PMIC := $(MTK_PMIC_CHIP_TYPE) | |
ifeq ($(findstring PMIC, $(strip $(DEFINES))),) | |
GLOBAL_DEFINES += PMIC_CHIP_$(shell echo $(PMIC) | tr '[a-z]' '[A-Z]') | |
endif | |
MODULE_DEPS += \ | |
platform/$(PLATFORM)/drivers/nand \ | |
platform/$(PLATFORM)/drivers/mmc | |
include make/module.mk |