]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot-imx: Fix deploy bug for multiple UBOOT_CONFIG entries
authorTom Hochstein <tom.hochstein@nxp.com>
Fri, 9 Jul 2021 17:47:38 +0000 (12:47 -0500)
committerTom Hochstein <tom.hochstein@nxp.com>
Fri, 9 Jul 2021 17:47:38 +0000 (12:47 -0500)
A for-loop iterating over entries in UBOOT_CONFIG incorrectly uses
the full UBOOT_CONFIG variable in a binary name when the name
should be specific to the current entry.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-bsp/u-boot/u-boot-imx_2021.04.bb

index 4ce4e5d2ec92b473ed0e03d2fe681f542bef0aaf..6a279a12533d24504ea759a7d62f3324bd3c7596 100644 (file)
@@ -19,7 +19,7 @@ do_deploy_append_mx8m() {
                 then
                     install -d ${DEPLOYDIR}/${BOOT_TOOLS}
                     install -m 0777 ${B}/${config}/arch/arm/dts/${UBOOT_DTB_NAME}  ${DEPLOYDIR}/${BOOT_TOOLS}
-                    install -m 0777 ${B}/${config}/u-boot-nodtb.bin  ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG}
+                    install -m 0777 ${B}/${config}/u-boot-nodtb.bin  ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${type}
                 fi
             done
             unset  j