diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel-fitimage.bbclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index 08b5db24b7..9661b4ff78 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass | |||
@@ -79,6 +79,9 @@ FIT_DESC ?= "U-Boot fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}" | |||
79 | UBOOT_MKIMAGE ?= "uboot-mkimage" | 79 | UBOOT_MKIMAGE ?= "uboot-mkimage" |
80 | UBOOT_MKIMAGE_SIGN ?= "${UBOOT_MKIMAGE}" | 80 | UBOOT_MKIMAGE_SIGN ?= "${UBOOT_MKIMAGE}" |
81 | 81 | ||
82 | # Arguments passed to mkimage for signing | ||
83 | UBOOT_MKIMAGE_SIGN_ARGS ?= "" | ||
84 | |||
82 | # | 85 | # |
83 | # Emit the fitImage ITS header | 86 | # Emit the fitImage ITS header |
84 | # | 87 | # |
@@ -529,7 +532,8 @@ fitimage_assemble() { | |||
529 | ${@'-D "${UBOOT_MKIMAGE_DTCOPTS}"' if len('${UBOOT_MKIMAGE_DTCOPTS}') else ''} \ | 532 | ${@'-D "${UBOOT_MKIMAGE_DTCOPTS}"' if len('${UBOOT_MKIMAGE_DTCOPTS}') else ''} \ |
530 | -F -k "${UBOOT_SIGN_KEYDIR}" \ | 533 | -F -k "${UBOOT_SIGN_KEYDIR}" \ |
531 | $add_key_to_u_boot \ | 534 | $add_key_to_u_boot \ |
532 | -r arch/${ARCH}/boot/${2} | 535 | -r arch/${ARCH}/boot/${2} \ |
536 | ${UBOOT_MKIMAGE_SIGN_ARGS} | ||
533 | fi | 537 | fi |
534 | } | 538 | } |
535 | 539 | ||