]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
u-boot: Fix condition for install_spl_helper
authorSean Anderson <sean.anderson@seco.com>
Tue, 5 Apr 2022 15:00:13 +0000 (11:00 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Apr 2022 21:23:25 +0000 (22:23 +0100)
The condition for calling install_spl_helper when compiling multiple
configs does not match the condition for a single config. This causes
compilation failures when ${UBOOT_FITIMAGE_ENABLE} is 1 but
${SPL_SIGN_ENABLE} is not.

Fixes: 5af4dfe83c2 ("u-boot: Add infrastructure to SPL verified boot")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/uboot-sign.bbclass

index 8d136e940589d5563d9266f5e64ba39b7a77a1b7..4ca8118eb2726ea897c20ffaf0611e00116cc912 100644 (file)
@@ -250,7 +250,7 @@ do_install:append() {
                                        [ -n "${UBOOT_DTB_BINARY}" ]; then
                                        install_helper
                                fi
-                               if [ "${SPL_SIGN_ENABLE}" = "1" -a -n "${SPL_DTB_BINARY}" ]; then
+                               if [ "${UBOOT_FITIMAGE_ENABLE}" = "1" -a -n "${SPL_DTB_BINARY}" ]; then
                                        install_spl_helper
                                fi
                        done