aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-05-17 21:42:58 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2016-05-27 15:39:10 +0200
commit21a9e433304d2bdf5ca0da8784a523efc7123d8a (patch)
treea9fbc6a3067b5122f6d56fb6b520bfbccdb98c82
parentf6db87726d84976275cfe6b74a9e270f6bf6792e (diff)
downloadmeta-openembedded-contrib-21a9e433304d2bdf5ca0da8784a523efc7123d8a.tar.gz
initramfs-kexecboot-klibc-image: Skip for nios2
nios2 does not support klibc Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb6
1 files changed, 6 insertions, 0 deletions
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 df97511892a..da3023fe172 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")
+}
+