[oe-commits] [openembedded-core] 08/13: kernel-uimage.bbclass: Dependency on u-boot-mkimage-native for all uImages

git at git.openembedded.org git at git.openembedded.org
Sat Sep 22 15:13:39 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit b0511c4b92a34c5687bbb94abf75a3317470b9c5
Author: Reto Schneider <reto.schneider at husqvarnagroup.com>
AuthorDate: Tue Sep 18 23:54:28 2018 +0200

    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 at reto-schneider.ch>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/kernel-uimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@
 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)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list