You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
TARGET_BOARD_PLATFORM := mt6737t |
|
|
|
# Use the non-open-source part, if present |
|
-include vendor/mediatek/k37tv1_64_bsp/BoardConfigVendor.mk |
|
|
|
# Use the 6735 common part |
|
include device/mediatek/mt6735/BoardConfig.mk |
|
|
|
#Config partition size |
|
-include $(MTK_PTGEN_OUT)/partition_size.mk |
|
ifneq ($(strip $(MTK_AB_OTA_UPDATER)), yes) |
|
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 |
|
endif |
|
BOARD_FLASH_BLOCK_SIZE := 4096 |
|
BOARD_MTK_SYSTEM_SIZE_KB := 2621440 |
|
|
|
|
|
MTK_INTERNAL_CDEFS := $(foreach t,$(AUTO_ADD_GLOBAL_DEFINE_BY_NAME),$(if $(filter-out no NO none NONE false FALSE,$($(t))),-D$(t))) |
|
MTK_INTERNAL_CDEFS += $(foreach t,$(AUTO_ADD_GLOBAL_DEFINE_BY_VALUE),$(if $(filter-out no NO none NONE false FALSE,$($(t))),$(foreach v,$(shell echo $($(t)) | tr '[a-z]' '[A-Z]'),-D$(v)))) |
|
MTK_INTERNAL_CDEFS += $(foreach t,$(AUTO_ADD_GLOBAL_DEFINE_BY_NAME_VALUE),$(if $(filter-out no NO none NONE false FALSE,$($(t))),-D$(t)=\"$($(t))\")) |
|
|
|
MTK_GLOBAL_CFLAGS += $(MTK_INTERNAL_CDEFS) |
|
|
|
ifneq ($(MTK_K64_SUPPORT), yes) |
|
BOARD_KERNEL_CMDLINE = bootopt=64S3,32N2,32N2 |
|
else |
|
BOARD_KERNEL_CMDLINE = bootopt=64S3,32N2,64N2 |
|
endif |
|
|
|
|