mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 17:26:36 +01:00
kernel-fitimage: Make DTB key insertion optional
If UBOOT_DTB_BINARY is empty, then don't try inserting the U-Boot signing keys into the DTB. In this configuration the keys are expected to be already present in U-Boot's DTB. (From OE-Core rev: a0d74767f7bd18c853df6b0be162363076d8f965) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b2a13cef91
commit
bba7c19eeb
@@ -459,7 +459,7 @@ fitimage_assemble() {
|
||||
uboot-mkimage \
|
||||
${@'-D "${UBOOT_MKIMAGE_DTCOPTS}"' if len('${UBOOT_MKIMAGE_DTCOPTS}') else ''} \
|
||||
-F -k "${UBOOT_SIGN_KEYDIR}" \
|
||||
-K "${DEPLOY_DIR_IMAGE}/${UBOOT_DTB_BINARY}" \
|
||||
${@'-K "${DEPLOY_DIR_IMAGE}/${UBOOT_DTB_BINARY}"' if len('${UBOOT_DTB_BINARY}') else ''} \
|
||||
-r arch/${ARCH}/boot/${2}
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user