summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2022-04-05 11:00:13 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-05 22:23:40 +0100
commit91d6c0346487eefddc0b5355e2c5c77c580a33d1 (patch)
tree80c03bbc9fc7dee18bdc1c924e195f9eac27f979
parent13eda43533f0e7a9ee8e776ac0af1658d8580005 (diff)
downloadpoky-91d6c0346487eefddc0b5355e2c5c77c580a33d1.tar.gz
u-boot: Fix condition for install_spl_helper
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") (From OE-Core rev: 7dc155961649c022d33cf7c6a5155cdfa5dc2969) 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>
-rw-r--r--meta/classes/uboot-sign.bbclass2
1 files changed, 1 insertions, 1 deletions
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() {
250 [ -n "${UBOOT_DTB_BINARY}" ]; then 250 [ -n "${UBOOT_DTB_BINARY}" ]; then
251 install_helper 251 install_helper
252 fi 252 fi
253 if [ "${SPL_SIGN_ENABLE}" = "1" -a -n "${SPL_DTB_BINARY}" ]; then 253 if [ "${UBOOT_FITIMAGE_ENABLE}" = "1" -a -n "${SPL_DTB_BINARY}" ]; then
254 install_spl_helper 254 install_spl_helper
255 fi 255 fi
256 done 256 done