Message ID | 2dc63a32d4ad8a0b0179bb8d2468f8bf104e5732.1748486276.git.tim.orling@konsulko.com |
---|---|
State | New |
Headers | show |
Series | [01/11] u-boot: Fix potential index error issues in do_deploy with multiple u-boot configurations | expand |
diff --git a/recipes-bsp/u-boot/u-boot.inc b/recipes-bsp/u-boot/u-boot.inc index f5b43f6..608d621 100644 --- a/recipes-bsp/u-boot/u-boot.inc +++ b/recipes-bsp/u-boot/u-boot.inc @@ -217,6 +217,7 @@ RDEPENDS:${PN} += "${PN}-env" do_deploy () { if [ -n "${UBOOT_CONFIG}" ] then + unset i j for config in ${UBOOT_MACHINE}; do i=$(expr $i + 1); for type in ${UBOOT_CONFIG}; do