Parcourir la source

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

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

(From OE-Core rev: c939255a88d367d19497184ed64b828f021e5ef4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj il y a 7 ans
Parent
commit
fbfacebaa9
1 fichiers modifiés avec 1 ajouts et 6 suppressions
  1. 1 6
      meta/recipes-extended/libnss-nis/libnss-nis.bb

+ 1 - 6
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'