diff options
author | Zumeng Chen <zumeng.chen@windriver.com> | 2018-01-21 11:26:58 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-22 23:25:47 +0000 |
commit | ce6337ab4b415ee18360dfe4443a71ab75a60254 (patch) | |
tree | 767a4d04bf8208f447d66d44df979f7449f81e0d | |
parent | 8023052653d44a8bbd3618ba700aa260e581036e (diff) | |
download | openembedded-core-ce6337ab4b415ee18360dfe4443a71ab75a60254.tar.gz openembedded-core-ce6337ab4b415ee18360dfe4443a71ab75a60254.tar.bz2 openembedded-core-ce6337ab4b415ee18360dfe4443a71ab75a60254.zip |
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 <zumeng.chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/classes/kernel-uboot.bbclass | 4 |
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() { 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 |