summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-recipe/uboot-sign.bbclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass
index 7ee73b872a..a17be745ce 100644
--- a/meta/classes-recipe/uboot-sign.bbclass
+++ b/meta/classes-recipe/uboot-sign.bbclass
@@ -122,7 +122,13 @@ concat_dtb() {
122 # If we're not using a signed u-boot fit, concatenate SPL w/o DTB & U-Boot DTB 122 # If we're not using a signed u-boot fit, concatenate SPL w/o DTB & U-Boot DTB
123 # with public key (otherwise U-Boot will be packaged by uboot_fitimage_assemble) 123 # with public key (otherwise U-Boot will be packaged by uboot_fitimage_assemble)
124 if [ "${SPL_SIGN_ENABLE}" != "1" ] ; then 124 if [ "${SPL_SIGN_ENABLE}" != "1" ] ; then
125 if [ -e "${UBOOT_NODTB_BINARY}" -a -e "${UBOOT_DTB_BINARY}" ]; then 125 if [ "x${UBOOT_SUFFIX}" = "ximg" -o "x${UBOOT_SUFFIX}" = "xrom" ] && \
126 [ -e "${UBOOT_DTB_BINARY}" ]; then
127 oe_runmake EXT_DTB="${UBOOT_DTB_SIGNED}" ${UBOOT_MAKE_TARGET}
128 if [ -n "${binary}" ]; then
129 cp ${binary} ${UBOOT_BINARYNAME}-${type}.${UBOOT_SUFFIX}
130 fi
131 elif [ -e "${UBOOT_NODTB_BINARY}" -a -e "${UBOOT_DTB_BINARY}" ]; then
126 if [ -n "${binary}" ]; then 132 if [ -n "${binary}" ]; then
127 cat ${UBOOT_NODTB_BINARY} ${UBOOT_DTB_SIGNED} | tee ${binary} > \ 133 cat ${UBOOT_NODTB_BINARY} ${UBOOT_DTB_SIGNED} | tee ${binary} > \
128 ${UBOOT_BINARYNAME}-${type}.${UBOOT_SUFFIX} 134 ${UBOOT_BINARYNAME}-${type}.${UBOOT_SUFFIX}