]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-uimage: change target image to vmlinux
authorRuslan Bilovol <rbilovol@cisco.com>
Wed, 13 Apr 2016 18:17:20 +0000 (21:17 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Apr 2016 06:53:56 +0000 (07:53 +0100)
Commit e69525: "kernel: Build uImage only when really
needed" hardcoded target kernel image to zImage for
case if uImage is generated by OpenEmbedded buildsystem.

However not all kernel architectures support zImage
target, for example AArch64 doesn't, so building of
kernel is failing on this step.

So instead of building zImage target that may not
exist for many architectures, build vmlinux target
that exists for all architectures.

Since kernel-uboot.bbclass uses vmlinux anyway for
creating image, there is no side effect on this change.

Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel-uimage.bbclass

index f73965b13fa81c408570712855fb73a6eabfd5b3..de7ca38e940521c38eb1d1719894542403436249 100644 (file)
@@ -13,7 +13,7 @@ python __anonymous () {
        # KEEPUIMAGE == yes. Otherwise, we pack compressed vmlinux into
        # the uImage .
        if d.getVar("KEEPUIMAGE", True) != 'yes':
-            d.setVar("KERNEL_IMAGETYPE_FOR_MAKE", "zImage")
+            d.setVar("KERNEL_IMAGETYPE_FOR_MAKE", "vmlinux")
 }
 
 do_uboot_mkimage() {