summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-uboot.bbclass
diff options
context:
space:
mode:
authorBedel, Alban <alban.bedel@aerq.com>2019-07-23 14:13:36 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-26 07:41:38 (GMT)
commitae4ceea4feb5f52d2784707eb30d1f165d2fb9cf (patch)
tree1f7e6c04e66c059727a62094ea6de06fa854e4ab /meta/classes/kernel-uboot.bbclass
parent3ac4332d2565c04e9be936d2397453f7041003b1 (diff)
downloadpoky-ae4ceea4feb5f52d2784707eb30d1f165d2fb9cf.tar.gz
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. (From OE-Core rev: 60bc7e180e2d44ac026e5537552a567784dc506a) Signed-off-by: Alban Bedel <alban.bedel@aerq.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.bbclass4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass
index 0457c5d..87f0265 100644
--- a/meta/classes/kernel-uboot.bbclass
+++ b/meta/classes/kernel-uboot.bbclass
@@ -3,10 +3,6 @@ uboot_prep_kimage() {
3 vmlinux_path="arch/${ARCH}/boot/compressed/vmlinux" 3 vmlinux_path="arch/${ARCH}/boot/compressed/vmlinux"
4 linux_suffix="" 4 linux_suffix=""
5 linux_comp="none" 5 linux_comp="none"
6 elif [ -e arch/${ARCH}/boot/Image ] ; then
7 vmlinux_path="vmlinux"
8 linux_suffix=".gz"
9 linux_comp="gzip"
10 elif [ -e arch/${ARCH}/boot/vmlinuz.bin ]; then 6 elif [ -e arch/${ARCH}/boot/vmlinuz.bin ]; then
11 rm -f linux.bin 7 rm -f linux.bin
12 cp -l arch/${ARCH}/boot/vmlinuz.bin linux.bin 8 cp -l arch/${ARCH}/boot/vmlinuz.bin linux.bin