]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-fitimage: support MIPS (compressed)
authorAndré Draszik <adraszik@tycoint.com>
Wed, 20 Sep 2017 09:41:57 +0000 (10:41 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Sep 2017 13:14:03 +0000 (14:14 +0100)
On MIPS, the compressed kernel image target is vmlinuz.bin

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel-fitimage.bbclass

index 5583b4472e043e9f5513c92807f065769b23d23b..179185b6b236157987e91ae80e487eb31e207ed6 100644 (file)
@@ -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"