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

TARGET_BOOTLOADER_CONFIG := \
         imx8mm-smarcimx8mm_2g:smarcimx8mm_2g_ser3_android_defconfig \
         imx8mm-smarcimx8mm_4g:smarcimx8mm_4g_ser3_android_defconfig \
         imx8mm-smarcimx8mm_2g_uuu:smarcimx8mm_2g_ser3_android_uuu_defconfig \
         imx8mm-smarcimx8mm_4g_uuu:smarcimx8mm_4g_ser3_android_uuu_defconfig

# smarc_mx8mm kernel defconfig
TARGET_KERNEL_DEFCONFIG := smarcimx8mm_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