blob: fa4c7efa2db0f9abb1d0cf3c9d62b042d6f130c4 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001LOCAL_DIR := $(GET_LOCAL_DIR)
2MODULE := ${LOCAL_DIR}
3
4GLOBAL_INCLUDES += \
5 $(LOCAL_DIR)/include
6
7MODULE_SRCS += \
8 $(LOCAL_DIR)/target.c
9
10PLATFORM := mt2731
11PMIC := $(MTK_PMIC_CHIP_TYPE)
12ifeq ($(findstring PMIC, $(strip $(DEFINES))),)
13GLOBAL_DEFINES += PMIC_CHIP_$(shell echo $(PMIC) | tr '[a-z]' '[A-Z]')
14endif
15
16MODULE_DEPS += \
17 platform/$(PLATFORM)/drivers/nand \
18 platform/$(PLATFORM)/drivers/mmc
19
20include make/module.mk