From e7f48b92a9834cf79ce65bbe700d7abfe80d288b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 17 May 2016 21:42:58 -0700 Subject: initramfs-kexecboot-klibc-image: Skip for nios2 nios2 does not support klibc Signed-off-by: Khem Raj Signed-off-by: Martin Jansa (cherry picked from commit 21a9e433304d2bdf5ca0da8784a523efc7123d8a) Signed-off-by: Armin Kuster --- .../recipes-bsp/images/initramfs-kexecboot-klibc-image.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb b/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb index df9751189..da3023fe1 100644 --- a/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb +++ b/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb @@ -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") +} + -- cgit v1.2.3-54-g00ecf