aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/recipes-kernel/linux/linux-microblaze.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xilinx-bsp/recipes-kernel/linux/linux-microblaze.inc')
-rw-r--r--meta-xilinx-bsp/recipes-kernel/linux/linux-microblaze.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-kernel/linux/linux-microblaze.inc b/meta-xilinx-bsp/recipes-kernel/linux/linux-microblaze.inc
new file mode 100644
index 00000000..e23a50e8
--- /dev/null
+++ b/meta-xilinx-bsp/recipes-kernel/linux/linux-microblaze.inc
@@ -0,0 +1,5 @@
+# MicroBlaze is a uImage target, but its not called 'uImage' instead it is called 'linux.bin.ub'
+python () {
+ if d.getVar('KERNEL_IMAGETYPE', True).endswith('.ub'):
+ d.setVar('DEPENDS', "%s u-boot-mkimage-native" % d.getVar('DEPENDS', True))
+}