[OE-core] [PATCH] libnss-nis: Limit parse skip only for target recipe on musl

Khem Raj raj.khem at gmail.com
Wed Jul 4 03:51:45 UTC 2018


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 at gmail.com>
---
 meta/recipes-extended/libnss-nis/libnss-nis.bb | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

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'
-- 
2.18.0




More information about the Openembedded-core mailing list