summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBedel, Alban <alban.bedel@aerq.com>2019-07-31 13:53:45 +0000
committerArmin Kuster <akuster808@gmail.com>2019-09-29 21:38:22 -0700
commit91c42f92cd978a922fff87cb1d0f358c7d9747ea (patch)
treee040f7087c3c53eae65d5efd7c38d079fa379c46
parent933a85e45c3edd65cdcc00cb18e17524e0411a09 (diff)
downloadopenembedded-core-contrib-91c42f92cd978a922fff87cb1d0f358c7d9747ea.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. This commit is a backport of commit a725d188b5 (kernel-uboot: compress arm64 kernels) and commit 60bc7e180e (kernel-uboot: remove useless special casing of arm64 Image) from master. Both commit were melted into one to avoid some useless churn. Signed-off-by: Alban Bedel <alban.bedel@aerq.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta/classes/kernel-uboot.bbclass4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass
index 2364053f31..87f02654fa 100644
--- a/meta/classes/kernel-uboot.bbclass
+++ b/meta/classes/kernel-uboot.bbclass
@@ -3,10 +3,6 @@ uboot_prep_kimage() {
vmlinux_path="arch/${ARCH}/boot/compressed/vmlinux"
linux_suffix=""
linux_comp="none"
- elif [ -e arch/${ARCH}/boot/Image ] ; then
- vmlinux_path="vmlinux"
- linux_suffix=""
- linux_comp="none"
elif [ -e arch/${ARCH}/boot/vmlinuz.bin ]; then
rm -f linux.bin
cp -l arch/${ARCH}/boot/vmlinuz.bin linux.bin