From 88062eb47b4e78f669753c69af1abe3214c2ed93 Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Fri, 9 Jul 2021 12:47:38 -0500 Subject: [PATCH] u-boot-imx: Fix deploy bug for multiple UBOOT_CONFIG entries 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 --- recipes-bsp/u-boot/u-boot-imx_2021.04.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/u-boot/u-boot-imx_2021.04.bb b/recipes-bsp/u-boot/u-boot-imx_2021.04.bb index 4ce4e5d2..6a279a12 100644 --- a/recipes-bsp/u-boot/u-boot-imx_2021.04.bb +++ b/recipes-bsp/u-boot/u-boot-imx_2021.04.bb @@ -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 -- 2.40.1