Skip to contentSkip to conversation

initramfs-kexecboot-klibc-image: Skip for nios2

PATCH New Khem Raj 1 participant 1 message May 18, 2016

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 initramfs-kexecboot-klibc-image: Skip for nios2

nios2 does not support klibc

---
 .../recipes-bsp/images/initramfs-kexecboot-klibc-image.bb           | 6 ++++++
 1 file changed, 6 insertions(+)
meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb +6 -0
index df97511..da3023f 100644
@@ -5,3 +5,9 @@ SUMMARY = "Initramfs image for kexecboot kernel (klibc-static binaries)"
 # We really need just kexecboot, kexec and ubiattach
 # statically compiled against klibc
 IMAGE_INSTALL = "kexecboot-klibc kexec-klibc ubiattach-klibc"
+
+python () {
+    if d.getVar('TARGET_ARCH', True) == "nios2":
+        raise bb.parse.SkipPackage("'nios2' not supported arch")
+}
+
Signature · 1 line
2.8.2