瀏覽代碼

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 7 年之前
父節點
當前提交
fbfacebaa9
共有 1 個文件被更改,包括 1 次插入6 次删除
  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'