kernel-fitimage: reduce dependency to the cpio

In order to build a fitimage, we don't need the image to be "complete"
but we need the cpio portion of it built since the cpio is what ends
up inside the FIT.  By reducing the dependency to `do_image_cpio` we
are able to include an image's rootfs as the ramdisk for a FIT and
then bundle that FIT into a larger SPI flash layout.

(From OE-Core rev: ef0d0734866505c1c6e0528a0423e7248afb3ff8)

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Patrick Williams
2022-12-12 16:18:08 -06:00
committed by Richard Purdie
parent e911886a91
commit b03fd83fcb

View File

@@ -38,7 +38,7 @@ python __anonymous () {
image = d.getVar('INITRAMFS_IMAGE')
if image:
d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_cpio')
ubootenv = d.getVar('UBOOT_ENV')
if ubootenv: