path: root/meta/classes/kernel-uimage.bbclass
diff options
authorReto Schneider <>2018-09-18 21:54:28 (GMT)
committerRichard Purdie <>2018-09-22 22:52:12 (GMT)
commit8e5a7658a0d4e853e53d6f829919647fda2dc687 (patch)
tree21e8dbb23f4e8d909deac5abc34c2efb50f64d38 /meta/classes/kernel-uimage.bbclass
parentcbd7c6294ae83d74c066c3cc73d1c5d7d1ef0d8a (diff)
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 <> Signed-off-by: Ross Burton <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/classes/kernel-uimage.bbclass')
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-uimage.bbclass b/meta/classes/kernel-uimage.bbclass
index 1d8656e..c2de6bb 100644
--- a/meta/classes/kernel-uimage.bbclass
+++ b/meta/classes/kernel-uimage.bbclass
@@ -1,7 +1,7 @@
1inherit kernel-uboot 1inherit kernel-uboot
2 2
3python __anonymous () { 3python __anonymous () {
4 if "uImage" in (d.getVar('KERNEL_IMAGETYPES') or "").split(): 4 if "uImage" in d.getVar('KERNEL_IMAGETYPES'):
5 depends = d.getVar("DEPENDS") 5 depends = d.getVar("DEPENDS")
6 depends = "%s u-boot-mkimage-native" % depends 6 depends = "%s u-boot-mkimage-native" % depends
7 d.setVar("DEPENDS", depends) 7 d.setVar("DEPENDS", depends)