From 60bc7e180e2d44ac026e5537552a567784dc506a Mon Sep 17 00:00:00 2001 From: "Bedel, Alban" Date: Tue, 23 Jul 2019 14:13:36 +0000 Subject: kernel-uboot: remove useless special casing of arm64 Image 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 Signed-off-by: Richard Purdie --- meta/classes/kernel-uboot.bbclass | 4 ---- 1 file changed, 4 deletions(-) diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass index 0457c5d1d1..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=".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 -- cgit 1.2.3-korg