diff options
author | Reto Schneider <reto.schneider@husqvarnagroup.com> | 2018-09-18 23:54:28 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-22 11:22:30 -0700 |
commit | ac4ce0b07b2742c64d44f988ecb27e7200b5a0bc (patch) | |
tree | 8a178bfbad57ee53323644e9f40511edc21d3f5c | |
parent | c2b7410aaac0c68dc1bcf8d0f4102ff55dc870aa (diff) | |
download | openembedded-core-ac4ce0b07b2742c64d44f988ecb27e7200b5a0bc.tar.gz openembedded-core-ac4ce0b07b2742c64d44f988ecb27e7200b5a0bc.tar.bz2 openembedded-core-ac4ce0b07b2742c64d44f988ecb27e7200b5a0bc.zip |
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.
Signed-off-by: Reto Schneider <code@reto-schneider.ch>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/classes/kernel-uimage.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-uimage.bbclass b/meta/classes/kernel-uimage.bbclass index 1d8656e76e..c2de6bb40d 100644 --- a/meta/classes/kernel-uimage.bbclass +++ b/meta/classes/kernel-uimage.bbclass @@ -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) |