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 <[email protected]>
---

 meta/classes/uboot-sign.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/uboot-sign.bbclass b/meta/classes/uboot-sign.bbclass
index 8d136e9405..4ca8118eb2 100644
--- a/meta/classes/uboot-sign.bbclass
+++ b/meta/classes/uboot-sign.bbclass
@@ -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
-- 
2.35.1.1320.gc452695387.dirty

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164042): 
https://lists.openembedded.org/g/openembedded-core/message/164042
Mute This Topic: https://lists.openembedded.org/mt/90267517/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to