diff mbox series

libnss-nis: Limit parse skip only for target recipe on musl

Message ID 20180704035145.11316-1-raj.khem@gmail.com
State Accepted
Commit c939255a88d367d19497184ed64b828f021e5ef4
Headers show
Series libnss-nis: Limit parse skip only for target recipe on musl | expand

Commit Message

Khem Raj July 4, 2018, 3:51 a.m. UTC
on the host side we are glibc based therefore some native and nativesdk
recipes might need this package even when we target musl based systems

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta/recipes-extended/libnss-nis/libnss-nis.bb | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

-- 
2.18.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-extended/libnss-nis/libnss-nis.bb b/meta/recipes-extended/libnss-nis/libnss-nis.bb
index e0f69b02ef..47447acd6c 100644
--- a/meta/recipes-extended/libnss-nis/libnss-nis.bb
+++ b/meta/recipes-extended/libnss-nis/libnss-nis.bb
@@ -28,9 +28,4 @@  BBCLASSEXTEND += "native nativesdk"
 #
 # We will skip parsing this packagegeoup for non-glibc systems
 #
-python __anonymous () {
-    if d.getVar('TCLIBC') != "glibc":
-        raise bb.parse.SkipRecipe("incompatible with %s C library" %
-                                   d.getVar('TCLIBC'))
-}
-
+COMPATIBLE_HOST_libc-musl = 'null'