summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2021-05-21 14:12:14 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-22 09:59:04 +0100
commit64b736ce0829436d952f0a5672ee03d7dd4642ad (patch)
tree105a29a65f24a72ade2bdfd92f27455511ae01bf /meta/classes
parentb73c484a58dbbde3989393163fc968f06109823c (diff)
downloadpoky-64b736ce0829436d952f0a5672ee03d7dd4642ad.tar.gz
kernel-fitimage.bbclass: fix a wrong conditional check
It should check if "${UBOOT_SIGN_ENABLE}" equals to "1" instead of checking if "${UBOOT_SIGN_ENABLE}" is not empty since it could be "0". (From OE-Core rev: 900949af7fe357ee66065ba150b0b1914e8ca581) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel-fitimage.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index 5cfd8af99d..993e159c75 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -331,7 +331,7 @@ fitimage_emit_section_config() {
331 331
332 conf_csum="${FIT_HASH_ALG}" 332 conf_csum="${FIT_HASH_ALG}"
333 conf_sign_algo="${FIT_SIGN_ALG}" 333 conf_sign_algo="${FIT_SIGN_ALG}"
334 if [ -n "${UBOOT_SIGN_ENABLE}" ] ; then 334 if [ "${UBOOT_SIGN_ENABLE}" = "1" ] ; then
335 conf_sign_keyname="${UBOOT_SIGN_KEYNAME}" 335 conf_sign_keyname="${UBOOT_SIGN_KEYNAME}"
336 fi 336 fi
337 337