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>
This commit is contained in:
Sean Anderson
2022-04-05 11:00:13 -04:00
committed by Richard Purdie
parent 13eda43533
commit 91d6c03464

View 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