From: Bonnans, Laurent Date: Thu, 13 Jun 2019 07:53:19 +0000 (+0000) Subject: kernel-uboot: compress arm64 kernels X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~14172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a725d188b5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git kernel-uboot: compress arm64 kernels 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass index 2364053f311..0457c5d1d16 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