aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-05-17 21:42:58 -0700
committerArmin Kuster <akuster808@gmail.com>2016-08-16 10:29:39 -0700
commite7f48b92a9834cf79ce65bbe700d7abfe80d288b (patch)
tree97844a29f2e4b0b98141e8664c1590d4f215c2f7
parenteefd95829c3dfb77d264a2ee51fec36959e2d2b0 (diff)
downloadmeta-openembedded-contrib-e7f48b92a9834cf79ce65bbe700d7abfe80d288b.tar.gz
meta-openembedded-contrib-e7f48b92a9834cf79ce65bbe700d7abfe80d288b.tar.bz2
meta-openembedded-contrib-e7f48b92a9834cf79ce65bbe700d7abfe80d288b.zip
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> (cherry picked from commit 21a9e433304d2bdf5ca0da8784a523efc7123d8a) Signed-off-by: Armin Kuster <akuster808@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 df97511892..da3023fe17 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")
+}
+