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 := mt2735 |
| 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 | SUB_PMIC := $(MTK_SUB_PMIC_CHIP_TYPE) |
| 16 | ifeq ($(findstring SUB_PMIC, $(strip $(DEFINES))),) |
| 17 | GLOBAL_DEFINES +=EXT_BUCK_MT6315 |
| 18 | endif |
| 19 | |
| 20 | MODULE_DEPS += \ |
| 21 | platform/$(PLATFORM)/drivers/nand \ |
| 22 | platform/$(PLATFORM)/drivers/mmc |
| 23 | |
| 24 | include make/module.mk |