UbootKernelBoardConfig.mk 731 Bytes
TARGET_BOOTLOADER_POSTFIX := bin
UBOOT_POST_PROCESS := true

TARGET_BOOTLOADER_CONFIG := \
	 imx8mq-smarcimx8mq_2g:smarcimx8mq_2g_ser3_android_defconfig \
	 imx8mq-smarcimx8mq_4g:smarcimx8mq_4g_ser3_android_defconfig \
	 imx8mq-smarcimx8mq_2g_uuu:smarcimx8mq_2g_ser3_android_uuu_defconfig \
	 imx8mq-smarcimx8mq_4g_uuu:smarcimx8mq_4g_ser3_android_uuu_defconfig

# imx8mq kernel defconfig
TARGET_KERNEL_DEFCONFIG := smarcimx8m_android_defconfig
# TARGET_KERNEL_ADDITION_DEFCONF ?= android_addition_defconfig


# absolute path is used, not the same as relative path used in AOSP make
TARGET_DEVICE_DIR := $(patsubst %/, %, $(dir $(realpath $(lastword $(MAKEFILE_LIST)))))

# define bootloader rollback index
BOOTLOADER_RBINDEX ?= 0