[oe-commits] [openembedded-core] 09/41: kernel-uimage: change target image to vmlinux

git at git.openembedded.org git at git.openembedded.org
Tue Apr 26 10:28:59 UTC 2016


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

commit 51a831925cd8a8dca9e3f88c485571e86bcd6d51
Author: Ruslan Bilovol <rbilovol at cisco.com>
AuthorDate: Wed Apr 13 21:17:20 2016 +0300

    kernel-uimage: change target image to vmlinux
    
    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 at cisco.com>
    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 f73965b..de7ca38 100644
--- a/meta/classes/kernel-uimage.bbclass
+++ b/meta/classes/kernel-uimage.bbclass
@@ -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() {

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


More information about the Openembedded-commits mailing list