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.c...@windriver.com>
---

 meta/classes/kernel-uboot.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/classes/kernel-uboot.bbclass 
b/meta/classes/kernel-uboot.bbclass
index 87f0265..2364053 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
-- 
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to