| LOCAL_DIR := $(GET_LOCAL_DIR) |
| MODULE := ${LOCAL_DIR} |
| |
| GLOBAL_INCLUDES += \ |
| $(LOCAL_DIR)/include |
| |
| MODULE_SRCS += \ |
| $(LOCAL_DIR)/target.c |
| |
| SRC_CLOCK := 26000000 |
| |
| PLATFORM := mediatek |
| MTK_PLATFORM := mt8133 |
| DRAM_TYPE := PCDDR4 |
| |
| TZ_PART_NAME := tee_a |
| RECOVERY_TZ_PART_NAME = tee_a |
| DTBO_PART_NAME := dtbo |
| BOOT_PART_NAME := boot_a |
| RECOVERY_BOOT_PART_NAME = boot_b |
| BL33_PART_NAME := bl33 |
| RECOVERY_BL33_PART_NAME := bl33 |
| USB_PHY := realchip |
| |
| ifeq ($(LK_AS_BL33),0) |
| MODULE_DEPS += \ |
| $(LOCAL_DIR)/../../../dramk_8133/$(DRAM_TYPE) |
| endif |
| |
| 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)\" \ |
| -DBL33_PART_NAME=\"$(BL33_PART_NAME)\" \ |
| -DROOTFS_PART_NAME=\"$(ROOTFS_PART_NAME)\" \ |
| -DRECOVERY_BL33_PART_NAME=\"$(RECOVERY_BL33_PART_NAME)\" \ |
| -DDRAM_TYPE=\"$(DRAM_TYPE)\" \ |
| -DSRC_CLOCK=$(SRC_CLOCK) \ |
| |
| MODULE_DEPS += \ |
| platform/${PLATFORM}/${MTK_PLATFORM}/drivers/nand |
| |
| include make/module.mk |