diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/kernel-fitimage.bbclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index e5b75edf5b..62e0017617 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass @@ -17,6 +17,9 @@ python __anonymous () { d.appendVarFlag('do_assemble_fitimage', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') } +# Options for the device tree compiler passed to mkimage '-D' feature: +UBOOT_MKIMAGE_DTCOPTS ??= "" + # # Emit the fitImage ITS header # @@ -209,7 +212,10 @@ do_assemble_fitimage() { # # Step 4: Assemble the image # - uboot-mkimage -f fit-image.its arch/${ARCH}/boot/fitImage + uboot-mkimage \ + ${@'-D "${UBOOT_MKIMAGE_DTCOPTS}"' if len('${UBOOT_MKIMAGE_DTCOPTS}') else ''} \ + -f fit-image.its \ + arch/${ARCH}/boot/fitImage fi } |