[gnome-continuous-yocto/gnomeostree-3.28-rocko: 16/8267] kernel-uimage: change target image to vmlinux



commit 4e0d9d1b8ff44348acfe1b79be6cfcad7d3e62e9
Author: Ruslan Bilovol <rbilovol cisco com>
Date:   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.
    
    (From OE-Core rev: ac5d4d42a5903cbcafd7247c282df1cb98f79f08)
    
    Signed-off-by: Ruslan Bilovol <rbilovol cisco com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/kernel-uimage.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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() {


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