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 | SRC_CLOCK := 10000000 |
| 11 | |
| 12 | PLATFORM := mediatek |
| 13 | MTK_PLATFORM := mt8133 |
| 14 | DRAM_TYPE := LPDDR4 |
| 15 | |
| 16 | TZ_PART_NAME := tee_a |
| 17 | RECOVERY_TZ_PART_NAME = tee_a |
| 18 | DTBO_PART_NAME := dtbo |
| 19 | BOOT_PART_NAME := boot |
| 20 | RECOVERY_BOOT_PART_NAME = recovery |
| 21 | BL33_PART_NAME := bl33 |
| 22 | RECOVERY_BL33_PART_NAME := bl33 |
| 23 | USB_PHY := fpga |
| 24 | |
| 25 | GLOBAL_CFLAGS += -DTZ_PART_NAME=\"$(TZ_PART_NAME)\" \ |
| 26 | -DDTBO_PART_NAME=\"$(DTBO_PART_NAME)\" \ |
| 27 | -DBOOT_PART_NAME=\"$(BOOT_PART_NAME)\" \ |
| 28 | -DRECOVERY_BOOT_PART_NAME=\"$(RECOVERY_BOOT_PART_NAME)\" \ |
| 29 | -DRECOVERY_TZ_PART_NAME=\"$(RECOVERY_TZ_PART_NAME)\" \ |
| 30 | -DSPM_PART_NAME=\"$(SPM_PART_NAME)\" \ |
| 31 | -DBL33_PART_NAME=\"$(BL33_PART_NAME)\" \ |
| 32 | -DROOTFS_PART_NAME=\"$(ROOTFS_PART_NAME)\" \ |
| 33 | -DRECOVERY_BL33_PART_NAME=\"$(RECOVERY_BL33_PART_NAME)\" \ |
| 34 | -DDRAM_TYPE=\"$(DRAM_TYPE)\" \ |
| 35 | -DSRC_CLOCK=$(SRC_CLOCK) \ |
| 36 | -DMACH_FPGA=1 |
| 37 | |
| 38 | MODULE_DEPS += \ |
| 39 | platform/${PLATFORM}/${MTK_PLATFORM}/drivers/mmc |
| 40 | |
| 41 | include make/module.mk |