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