mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
kernel-uimage.bbclass: Dependency on u-boot-mkimage-native for all uImages
u-boot-mkimage-native is needed to build any type of uImages, be it the uImage target itself or for example uImage.lzma. The dependency however gets only added when at least one of KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE is exactly uImage. Building uImage.bin and uImage.lzma is not possible this way. This patch adds a dependency to u-boot-mkimage-native for all imagetypes which contains the string uImage. (From OE-Core rev: ac4ce0b07b2742c64d44f988ecb27e7200b5a0bc) Signed-off-by: Reto Schneider <code@reto-schneider.ch> 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
cbd7c6294a
commit
8e5a7658a0
@@ -1,7 +1,7 @@
|
||||
inherit kernel-uboot
|
||||
|
||||
python __anonymous () {
|
||||
if "uImage" in (d.getVar('KERNEL_IMAGETYPES') or "").split():
|
||||
if "uImage" in d.getVar('KERNEL_IMAGETYPES'):
|
||||
depends = d.getVar("DEPENDS")
|
||||
depends = "%s u-boot-mkimage-native" % depends
|
||||
d.setVar("DEPENDS", depends)
|
||||
|
||||
Reference in New Issue
Block a user