mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 12:09:01 +02:00
nitrogen8m: add BOUNDARY_DEVICES_UBOOT_DEFCONFIG variable
Add dedicated BOUNDARY_DEVICES_UBOOT_DEFCONFIG variable, as there can be different board variants in which the defconfig needs to be modified in the build. Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
This commit is contained in:
parent
1738e559d8
commit
bd2e637193
|
@ -31,8 +31,17 @@ SPL_BINARY = "spl/u-boot-spl.bin"
|
|||
UBOOT_DTB_NAME ?= "imx8mq-nitrogen8m.dtb"
|
||||
UBOOT_MAKE_TARGET = ""
|
||||
UBOOT_SUFFIX = "bin"
|
||||
|
||||
# Used to define the U-Boot defconfig for different board variants. The naming
|
||||
# is here as a safeguard mechanism so that a user doesn't build and flash the
|
||||
# wrong configuration.
|
||||
#
|
||||
# This method will be optimized in the future, but for now, use this variable to
|
||||
# define the defconfig to be built.
|
||||
BOUNDARY_DEVICES_UBOOT_DEFCONFIG ?= "nitrogen8m"
|
||||
|
||||
UBOOT_CONFIG ??= "sd"
|
||||
UBOOT_CONFIG[sd] = "nitrogen8m_defconfig,sdcard"
|
||||
UBOOT_CONFIG[sd] = "${BOUNDARY_DEVICES_UBOOT_DEFCONFIG}_defconfig,sdcard"
|
||||
|
||||
# Set ATF platform name
|
||||
ATF_PLATFORM = "imx8mq"
|
||||
|
|
Loading…
Reference in New Issue
Block a user