]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-fitimage.bbclass: Fix bad image type replacement for microblaze
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Wed, 3 Jan 2018 00:45:04 +0000 (16:45 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Jan 2018 12:54:43 +0000 (12:54 +0000)
When using kernel-fitimage class with microblaze, the image type has to be
linux.bin not zImage. This patch fixes the bad image type replacement
for microblaze

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-fitimage.bbclass

index 9baf399f2ea03e1b8faf3e89897c4816a1b9e3e5..a50f8a18eef08c0be95fefa6478171a8a99e8d24 100644 (file)
@@ -14,6 +14,8 @@ python __anonymous () {
             replacementtype = "vmlinuz.bin"
         elif uarch == "x86":
             replacementtype = "bzImage"
+        elif uarch == "microblaze":
+            replacementtype = "linux.bin"
         else:
             replacementtype = "zImage"