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 := mediatek |
| 11 | MTK_PLATFORM := mt2712 |
| 12 | DRAM_TYPE := LPDDR4 |
| 13 | |
| 14 | SRC_CLOCK := 26000000 |
| 15 | |
| 16 | TZ_PART_NAME := TEE1 |
| 17 | RECOVERY_TZ_PART_NAME = TEE1 |
| 18 | DTBO_PART_NAME := DTBO |
| 19 | BOOT_PART_NAME := BOOTIMG |
| 20 | RECOVERY_BOOT_PART_NAME = RECOVERY |
| 21 | |
| 22 | GLOBAL_CFLAGS += -DTZ_PART_NAME=\"$(TZ_PART_NAME)\" \ |
| 23 | -DDTBO_PART_NAME=\"$(DTBO_PART_NAME)\" \ |
| 24 | -DBOOT_PART_NAME=\"$(BOOT_PART_NAME)\" \ |
| 25 | -DRECOVERY_BOOT_PART_NAME=\"$(RECOVERY_BOOT_PART_NAME)\" \ |
| 26 | -DRECOVERY_TZ_PART_NAME=\"$(RECOVERY_TZ_PART_NAME)\" \ |
| 27 | -DDRAM_TYPE=\"$(DRAM_TYPE)\" \ |
| 28 | -DSRC_CLOCK=$(SRC_CLOCK) \ |
| 29 | |
| 30 | MODULE_DEPS += \ |
| 31 | platform/$(PLATFORM)/$(MTK_PLATFORM)/drivers/nand \ |
| 32 | |
| 33 | include make/module.mk |