From: Zumeng Chen Date: Sun, 21 Jan 2018 03:26:58 +0000 (+0800) Subject: kernel-uboot: support Image kernel type for arm64 X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~19014 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce6337ab4b415ee18360dfe4443a71ab75a60254;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git kernel-uboot: support Image kernel type for arm64 Image will be generated for arm64, and no compression for Image in u-boot as well. So we just put the file into the right place for the rest of the build to find it. Signed-off-by: Zumeng Chen Signed-off-by: Ross Burton --- diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass index 87f02654fa5..2364053f311 100644 --- a/meta/classes/kernel-uboot.bbclass +++ b/meta/classes/kernel-uboot.bbclass @@ -3,6 +3,10 @@ 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