[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7874/8267] kernel-fitimage: support MIPS (compressed)



commit 4c87270fee36d7f78a45ce9ed86d3eb0d4ec4c91
Author: André Draszik <adraszik tycoint com>
Date:   Wed Sep 20 10:41:57 2017 +0100

    kernel-fitimage: support MIPS (compressed)
    
    On MIPS, the compressed kernel image target is vmlinuz.bin
    
    (From OE-Core rev: 74d97569aa4e0f82e094a539dec302076103affa)
    
    Signed-off-by: André Draszik <adraszik tycoint com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/kernel-fitimage.bbclass |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index 5583b44..179185b 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -7,7 +7,9 @@ python __anonymous () {
         depends = "%s u-boot-mkimage-native dtc-native" % depends
         d.setVar("DEPENDS", depends)
 
-        if d.getVar("UBOOT_ARCH") == "x86":
+        if d.getVar("UBOOT_ARCH") == "mips":
+            replacementtype = "vmlinuz.bin"
+        elif d.getVar("UBOOT_ARCH") == "x86":
             replacementtype = "bzImage"
         else:
             replacementtype = "zImage"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]