summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorDavid Bagonyi <david.bagonyi@gmail.com>2022-11-17 13:46:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-20 08:29:08 +0000
commit935fbe5e471537f12b68c853d3bfe7a6998d2e20 (patch)
tree1bfd3736f2039cd18a969bd7b987ce5391c9c032 /meta
parentbab3b8676662de92e34ac7ed3fe52745df1c9a9e (diff)
downloadpoky-935fbe5e471537f12b68c853d3bfe7a6998d2e20.tar.gz
u-boot: Fix u-boot signing when building with multiple u-boot configs
The prepended code with the i and j variables clash with similar code in uboot.inc, so they need to be unset once we are done using them. This commit fixes the issue that was introduced in d6858c9 "u-boot: Rework signing to remove interdependencies". (From OE-Core rev: 6f668f85d7e5b0a9d36198db865cf1e1a012b2e1) Signed-off-by: David Bagonyi <david.bagonyi@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes-recipe/uboot-sign.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass
index 3dc029c429..3065c54577 100644
--- a/meta/classes-recipe/uboot-sign.bbclass
+++ b/meta/classes-recipe/uboot-sign.bbclass
@@ -149,7 +149,7 @@ deploy_dtb() {
149 fi 149 fi
150 150
151 if [ -f "${UBOOT_NODTB_BINARY}" ]; then 151 if [ -f "${UBOOT_NODTB_BINARY}" ]; then
152 install -Dm644 ${UBOOT_DTB_BINARY} ${DEPLOYDIR}/${uboot_nodtb_binary} 152 install -Dm644 ${UBOOT_NODTB_BINARY} ${DEPLOYDIR}/${uboot_nodtb_binary}
153 if [ -n "${type}" ]; then 153 if [ -n "${type}" ]; then
154 ln -sf ${uboot_nodtb_binary} ${DEPLOYDIR}/${UBOOT_NODTB_IMAGE} 154 ln -sf ${uboot_nodtb_binary} ${DEPLOYDIR}/${UBOOT_NODTB_IMAGE}
155 fi 155 fi
@@ -407,7 +407,9 @@ do_deploy:prepend() {
407 deploy_helper ${type} 407 deploy_helper ${type}
408 fi 408 fi
409 done 409 done
410 unset j
410 done 411 done
412 unset i
411 else 413 else
412 cd ${B} 414 cd ${B}
413 deploy_helper "" 415 deploy_helper ""