blob: fa4c7efa2db0f9abb1d0cf3c9d62b042d6f130c4 [file] [log] [blame]
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