aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs
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 /meta-initramfs
parentf6db87726d84976275cfe6b74a9e270f6bf6792e (diff)
downloadmeta-openembedded-21a9e433304d2bdf5ca0da8784a523efc7123d8a.tar.gz
meta-openembedded-21a9e433304d2bdf5ca0da8784a523efc7123d8a.tar.bz2
meta-openembedded-21a9e433304d2bdf5ca0da8784a523efc7123d8a.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>
Diffstat (limited to 'meta-initramfs')
-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 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")
+}
+