summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Siemsen <ralph.siemsen@linaro.org>2024-05-09 08:42:04 -0400
committerSteve Sakoman <steve@sakoman.com>2024-05-23 08:55:01 -0700
commitb00462d6fbfe3cd76af7fb8e1c7eec69515b4209 (patch)
treed3d33f9b4e1e35d159b3f4eb878cbd0742bad593
parentc9e5f6d0b0432a5a307036fca125c6a2f03c169e (diff)
downloadpoky-b00462d6fbfe3cd76af7fb8e1c7eec69515b4209.tar.gz
uboot-sign: fix loop in do_uboot_assemble_fitimage
When using multiple u-boot configurations in UBOOT_CONFIG, the helper function uboot_assemble_fitimage_helper() was not called with all combinations of type & binary, due to a copy-n-paste indexing error. (From OE-Core rev: 0862abfede2680ff8d67c5e9ece2017f594cb8a1) Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2d338548a4b745a71eaf6c29231adc93c4165778) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/classes-recipe/uboot-sign.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass
index 7a0b8047e4..c8e097f2f2 100644
--- a/meta/classes-recipe/uboot-sign.bbclass
+++ b/meta/classes-recipe/uboot-sign.bbclass
@@ -367,7 +367,7 @@ do_uboot_assemble_fitimage() {
367 done 367 done
368 368
369 for binary in ${UBOOT_BINARIES}; do 369 for binary in ${UBOOT_BINARIES}; do
370 k=$(expr $j + 1); 370 k=$(expr $k + 1);
371 if [ $k -eq $i ]; then 371 if [ $k -eq $i ]; then
372 break; 372 break;
373 fi 373 fi