]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-uboot: support Image kernel type for arm64
authorZumeng Chen <zumeng.chen@windriver.com>
Sun, 21 Jan 2018 03:26:58 +0000 (11:26 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Jan 2018 08:43:37 +0000 (08:43 +0000)
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>
(cherry picked from commit ce6337ab4b415ee18360dfe4443a71ab75a60254)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/kernel-uboot.bbclass

index 87f02654fa5f3f836c3d6f5e556bf29136a6899c..2364053f311e50538829628bd87a74bd62d656ea 100644 (file)
@@ -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