blob: c34258bb3efa31572785abbfb96c6dbc4d4d6b6e [file] [log] [blame]
LOCAL_DIR := $(GET_LOCAL_DIR)
MODULE := ${LOCAL_DIR}
GLOBAL_INCLUDES += \
$(LOCAL_DIR)/include
MODULE_SRCS += \
$(LOCAL_DIR)/target.c
PLATFORM := mediatek
MTK_PLATFORM := mt2712
DRAM_TYPE := LPDDR4
SRC_CLOCK := 10000000
TZ_PART_NAME := TEE1
RECOVERY_TZ_PART_NAME = TEE1
DTBO_PART_NAME := DTBO
BOOT_PART_NAME := BOOTIMG
RECOVERY_BOOT_PART_NAME = RECOVERY
GLOBAL_CFLAGS += -DTZ_PART_NAME=\"$(TZ_PART_NAME)\" \
-DDTBO_PART_NAME=\"$(DTBO_PART_NAME)\" \
-DBOOT_PART_NAME=\"$(BOOT_PART_NAME)\" \
-DRECOVERY_BOOT_PART_NAME=\"$(RECOVERY_BOOT_PART_NAME)\" \
-DRECOVERY_TZ_PART_NAME=\"$(RECOVERY_TZ_PART_NAME)\" \
-DDRAM_TYPE=\"$(DRAM_TYPE)\" \
-DSRC_CLOCK=$(SRC_CLOCK) \
MODULE_DEPS += \
platform/$(PLATFORM)/$(MTK_PLATFORM)/drivers/mmc \
include make/module.mk