summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/imx-base.inc
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2022-08-02 13:06:30 -0500
committerTom Hochstein <tom.hochstein@nxp.com>2022-08-02 13:13:48 -0500
commit526798901506f890f5682ff31a00ba1ea7b31331 (patch)
tree622b2467bcd293a5c3b721f6fe8806ed3c33600e /conf/machine/include/imx-base.inc
parent6569140c9f390681a21e714f48e90ec0ae642908 (diff)
downloadmeta-freescale-526798901506f890f5682ff31a00ba1ea7b31331.tar.gz
imx-base.inc: Expand comment for UBOOT_SUFFIX
The UBOOT_SUFFIX override is complex and makes a requirement on the machine config that is easy to overlook, namely that it will evaluate incorrectly to empty if the variable is not overridden in some form by the machine config. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'conf/machine/include/imx-base.inc')
-rw-r--r--conf/machine/include/imx-base.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index f14d782e..37991f39 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -60,6 +60,14 @@ UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}"
60# | 60# |
61# | UBOOT_MACHINE = "mx53loco_config" 61# | UBOOT_MACHINE = "mx53loco_config"
62# `---- 62# `----
63#
64# Please note that UBOOT_SUFFIX must be set in the machine config even
65# if the value is the same for the U-Boot flavors. If the value is not
66# set, then the assignment here is the one used, the value resolves to
67# empty, and the build fails:
68# | cp: cannot stat '/.../tmp/work/imx8qm_mek-fsl-linux/u-boot-imx/2022.04-r0/build/imx8qm_mek_defconfig/u-boot.': No such file or directory
69#| WARNING: /.../tmp/work/imx8qm_mek-fsl-linux/u-boot-imx/2022.04-r0/temp/run.do_compile.21223:186 exit 1 from 'cp /.../tmp/work/imx8qm_mek-fsl-linux/u-boot-imx/2022.04-r0/build/${config}/${binary} /.../tmp/work/imx8qm_mek-fsl-linux/u-boot-imx/2022.04-r0/build/${config}/u-boot-${type}.${UBOOT_SUFFIX:pn-u-boot-imx}'
70#
63IMX_DEFAULT_BOOTLOADER ??= "u-boot-fslc" 71IMX_DEFAULT_BOOTLOADER ??= "u-boot-fslc"
64UBOOT_SUFFIX ?= "${UBOOT_SUFFIX:pn-${IMX_DEFAULT_BOOTLOADER}}" 72UBOOT_SUFFIX ?= "${UBOOT_SUFFIX:pn-${IMX_DEFAULT_BOOTLOADER}}"
65 73