diff options
author | Bonnans, Laurent <laurent.bonnans@here.com> | 2019-06-13 07:53:19 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-18 11:23:48 +0100 |
commit | 646b596c99119f40060d84a4bc6349f3a2a4e893 (patch) | |
tree | 79d10dce3f507cf46275d51252e316d67d5f1e17 /meta/classes/kernel-uboot.bbclass | |
parent | d301571b138701b5c1caf77884d43f681997438b (diff) | |
download | poky-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/classes/kernel-uboot.bbclass')
-rw-r--r-- | meta/classes/kernel-uboot.bbclass | 4 |
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 |