]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-uboot: remove useless special casing of arm64 Image
authorBedel, Alban <alban.bedel@aerq.com>
Tue, 23 Jul 2019 14:13:36 +0000 (14:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Jul 2019 07:40:54 +0000 (08:40 +0100)
Since commit a725d188b5 (kernel-uboot: compress arm64 kernels)
arm64 Image files are handled exactly like in the default case, making
this special case pointless. Remove it to make the code simpler.

Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-uboot.bbclass

index 0457c5d1d1652f8239093774264b35bfa7b494e9..87f02654fa5f3f836c3d6f5e556bf29136a6899c 100644 (file)
@@ -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=".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