summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRuslan Bilovol <rbilovol@cisco.com>2016-04-13 21:17:20 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-29 19:35:54 +0100
commit1b769a0774db469117bd8b00a7cdf9c9d2fe8bf4 (patch)
tree2c70a28d95042ea07beca5a077ccf8e251fd844a /meta/classes
parentbe8dfdcb5ad7bd98d105ed5102fb8577b99d11ef (diff)
downloadpoky-1b769a0774db469117bd8b00a7cdf9c9d2fe8bf4.tar.gz
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) (From OE-Core rev: 4b85501f4713ec1b7f54f2d3728f63cda32b5164) 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> Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel-uimage.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-uimage.bbclass b/meta/classes/kernel-uimage.bbclass
index f73965b13f..de7ca38e94 100644
--- a/meta/classes/kernel-uimage.bbclass
+++ b/meta/classes/kernel-uimage.bbclass
@@ -13,7 +13,7 @@ python __anonymous () {
13 # KEEPUIMAGE == yes. Otherwise, we pack compressed vmlinux into 13 # KEEPUIMAGE == yes. Otherwise, we pack compressed vmlinux into
14 # the uImage . 14 # the uImage .
15 if d.getVar("KEEPUIMAGE", True) != 'yes': 15 if d.getVar("KEEPUIMAGE", True) != 'yes':
16 d.setVar("KERNEL_IMAGETYPE_FOR_MAKE", "zImage") 16 d.setVar("KERNEL_IMAGETYPE_FOR_MAKE", "vmlinux")
17} 17}
18 18
19do_uboot_mkimage() { 19do_uboot_mkimage() {