summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2018-01-02 16:45:04 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-04 12:54:43 +0000
commit4e0903e2f71658d595ccb1fa9dddf0f73b373f7e (patch)
treee5f5ab3eeb6333f4ea405388e5aed7623ccc70ad /meta/classes
parentdbd604ccf34e304769937b15051c047561de47f7 (diff)
downloadopenembedded-core-4e0903e2f71658d595ccb1fa9dddf0f73b373f7e.tar.gz
kernel-fitimage.bbclass: Fix bad image type replacement for microblaze
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>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel-fitimage.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index 9baf399f2e..a50f8a18ee 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -14,6 +14,8 @@ python __anonymous () {
replacementtype = "vmlinuz.bin"
elif uarch == "x86":
replacementtype = "bzImage"
+ elif uarch == "microblaze":
+ replacementtype = "linux.bin"
else:
replacementtype = "zImage"