summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/glibc/glibc_2.21.bb12
1 files changed, 4 insertions, 8 deletions
diff --git a/meta/recipes-core/glibc/glibc_2.21.bb b/meta/recipes-core/glibc/glibc_2.21.bb
index 1ef494b086..6e540462cb 100644
--- a/meta/recipes-core/glibc/glibc_2.21.bb
+++ b/meta/recipes-core/glibc/glibc_2.21.bb
@@ -62,17 +62,13 @@ TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir}"
62GLIBC_BROKEN_LOCALES = " _ER _ET so_ET yn_ER sid_ET tr_TR mn_MN gez_ET gez_ER bn_BD te_IN es_CR.ISO-8859-1" 62GLIBC_BROKEN_LOCALES = " _ER _ET so_ET yn_ER sid_ET tr_TR mn_MN gez_ET gez_ER bn_BD te_IN es_CR.ISO-8859-1"
63 63
64# 64#
65# For now, we will skip building of a gcc package if it is a uclibc one 65# We will skip parsing glibc when system C library selection is not glibc
66# and our build is not a uclibc one, and we skip a glibc one if our build 66# this helps in easing out parsing for non-glibc system libraries
67# is a uclibc build.
68# 67#
69# See the note in gcc/gcc_3.4.0.oe
70#
71
72python __anonymous () { 68python __anonymous () {
73 import re 69 import re
74 uc_os = (re.match('.*uclibc$', d.getVar('TARGET_OS', True)) != None) 70 notglibc = (re.match('.*uclibc$', d.getVar('TARGET_OS', True)) != None) and (re.match('.*musl$', d.getVar('TARGET_OS', True)) != None)
75 if uc_os: 71 if notglibc:
76 raise bb.parse.SkipPackage("incompatible with target %s" % 72 raise bb.parse.SkipPackage("incompatible with target %s" %
77 d.getVar('TARGET_OS', True)) 73 d.getVar('TARGET_OS', True))
78} 74}