[OE-core] [PATCH] kernel-uboot.bbclass: fix image format for root-located vmlinux

Angelo Dureghello angelo at sysam.it
Wed Oct 3 18:13:06 UTC 2018


In case vmlinux is located in the Linux source root, it must still
be considered as _not_ compressed.

Signed-off-by: Angelo Dureghello <angelo at sysam.it>
---
 meta/classes/kernel-uboot.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass
index 2364053f31..dd5f8a7b65 100644
--- a/meta/classes/kernel-uboot.bbclass
+++ b/meta/classes/kernel-uboot.bbclass
@@ -15,8 +15,8 @@ uboot_prep_kimage() {
 		linux_comp="none"
 	else
 		vmlinux_path="vmlinux"
-		linux_suffix=".gz"
-		linux_comp="gzip"
+		linux_suffix=""
+		linux_comp="none"
 	fi
 
 	[ -n "${vmlinux_path}" ] && ${OBJCOPY} -O binary -R .note -R .comment -S "${vmlinux_path}" linux.bin
-- 
2.11.0




More information about the Openembedded-core mailing list