]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
kernel-uboot.bbclass: Use vmlinux.initramfs when INITRAMFS_IMAGE_BUNDLE set
authorRaju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Wed, 22 Jun 2022 11:07:34 +0000 (16:37 +0530)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Jun 2022 23:00:24 +0000 (00:00 +0100)
commite0a4e45e067d9fdb67a7d223aea463f259469035
treea014922343e3241299db84f2cd5ae3b1c85e1b09
parent6370bce5b0e14c9384b61c215eb6a56ed65a3feb
kernel-uboot.bbclass: Use vmlinux.initramfs when INITRAMFS_IMAGE_BUNDLE set

vmlinux file doesnot have the initramfs image when INITRAMFS_IMAGE_BUNDLE was set.
Use vmlinux.initramfs in uboot_prep_kimage when INITRAMFS_IMAGE_BUNDLE set
based on the implementation in kernel.bbclass do_bundle_initramfs function,
https://github.com/openembedded/openembedded-core/blob/master/meta/classes/kernel.bbclass#L316-L317
to be able to use proper linux.bin file in creation of fitImage.

Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
meta/classes/kernel-uboot.bbclass