summaryrefslogtreecommitdiffstats
path: root/meta
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-18 11:23:48 +0100
commit646b596c99119f40060d84a4bc6349f3a2a4e893 (patch)
tree79d10dce3f507cf46275d51252e316d67d5f1e17 /meta
parentd301571b138701b5c1caf77884d43f681997438b (diff)
downloadpoky-646b596c99119f40060d84a4bc6349f3a2a4e893.tar.gz
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. (From OE-Core rev: a725d188b5d6b5d3c5cf21cc2f3070a0fe711e18) Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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() {
5 linux_comp="none" 5 linux_comp="none"
6 elif [ -e arch/${ARCH}/boot/Image ] ; then 6 elif [ -e arch/${ARCH}/boot/Image ] ; then
7 vmlinux_path="vmlinux" 7 vmlinux_path="vmlinux"
8 linux_suffix="" 8 linux_suffix=".gz"
9 linux_comp="none" 9 linux_comp="gzip"
10 elif [ -e arch/${ARCH}/boot/vmlinuz.bin ]; then 10 elif [ -e arch/${ARCH}/boot/vmlinuz.bin ]; then
11 rm -f linux.bin 11 rm -f linux.bin
12 cp -l arch/${ARCH}/boot/vmlinuz.bin linux.bin 12 cp -l arch/${ARCH}/boot/vmlinuz.bin linux.bin