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