summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-uboot.bbclass
diff options
context:
space:
mode:
authorZumeng Chen <zumeng.chen@windriver.com>2018-01-21 11:26:58 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-23 23:43:45 +0000
commit1aa417df604d2627c56232a7a2c396c6b085d74b (patch)
treeca163ff47773ca0960da7ab2120ed4a9e7130dd4 /meta/classes/kernel-uboot.bbclass
parent9611659a8ced35b43bd6dfd8d0e5ff7ce2fa5138 (diff)
downloadpoky-1aa417df604d2627c56232a7a2c396c6b085d74b.tar.gz
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. (From OE-Core rev: ce6337ab4b415ee18360dfe4443a71ab75a60254) Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.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, 4 insertions, 0 deletions
diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass
index 87f02654fa..2364053f31 100644
--- a/meta/classes/kernel-uboot.bbclass
+++ b/meta/classes/kernel-uboot.bbclass
@@ -3,6 +3,10 @@ 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=""
9 linux_comp="none"
6 elif [ -e arch/${ARCH}/boot/vmlinuz.bin ]; then 10 elif [ -e arch/${ARCH}/boot/vmlinuz.bin ]; then
7 rm -f linux.bin 11 rm -f linux.bin
8 cp -l arch/${ARCH}/boot/vmlinuz.bin linux.bin 12 cp -l arch/${ARCH}/boot/vmlinuz.bin linux.bin