[oe-commits] [meta-openembedded] 35/40: initramfs-kexecboot-klibc-image: Skip for nios2

git at git.openembedded.org git at git.openembedded.org
Thu May 19 10:08:04 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 095d71bc0533c81cd946ca184d8a09b9212e79f2
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Tue May 17 21:42:58 2016 -0700

    initramfs-kexecboot-klibc-image: Skip for nios2
    
    nios2 does not support klibc
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 .../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 df97511..da3023f 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")
+}
+

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list