summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBonnans, Laurent <laurent.bonnans@here.com>2019-06-13 07:53:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-17 16:59:12 +0100
commit3abfbace13f1a3992dbb73a94f66f215d021c82c (patch)
treec65ca3800481ccd0e3f8e54da7253122df46dbe6
parent21386ce48c79aa590d65f34fb21c99bd166bc009 (diff)
downloadopenembedded-core-master-next.tar.gz
openembedded-core-master-next.tar.bz2
openembedded-core-master-next.zip
kernel-uboot: compress arm64 kernelsmaster-next
AArch64 images are not self-decompressing, thus usually much larger. Boot times can be reduced by compressing them in FIT and uImages. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/kernel-uboot.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass
index 2364053f31..0457c5d1d1 100644
--- a/meta/classes/kernel-uboot.bbclass
+++ b/meta/classes/kernel-uboot.bbclass
@@ -5,8 +5,8 @@ uboot_prep_kimage() {
linux_comp="none"
elif [ -e arch/${ARCH}/boot/Image ] ; then
vmlinux_path="vmlinux"
- linux_suffix=""
- linux_comp="none"
+ linux_suffix=".gz"
+ linux_comp="gzip"
elif [ -e arch/${ARCH}/boot/vmlinuz.bin ]; then
rm -f linux.bin
cp -l arch/${ARCH}/boot/vmlinuz.bin linux.bin