]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
kernel-fitimage.bbclass: fix arm64 target
authorAndreas Oberritter <obi@opendreambox.org>
Thu, 6 Apr 2017 18:49:49 +0000 (20:49 +0200)
committerAndreas Oberritter <obi@opendreambox.org>
Mon, 8 Apr 2019 11:49:57 +0000 (13:49 +0200)
On arm64, possible targets are Image (with or without compression)
and vmlinux. Use vmlinux, because that's what uboot_prep_kimage
expects.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
meta/classes/kernel-fitimage.bbclass

index b31992999f677a34a5871ec1ef308ff1fb600f02..3b68303894c643e44275d49b1eddc98f3af0eb52 100644 (file)
@@ -11,6 +11,8 @@ python __anonymous () {
             replacementtype = "vmlinuz.bin"
         elif d.getVar("UBOOT_ARCH") == "x86":
             replacementtype = "bzImage"
+        elif d.getVar("UBOOT_ARCH") == "arm64":
+            replacementtype = "vmlinux"
         else:
             replacementtype = "zImage"