path: root/meta
diff options
authorKhem Raj <>2015-02-27 17:19:55 +0000
committerRichard Purdie <>2015-03-10 10:47:43 +0000
commit6e539bf7a5ed1af7f379880d54ce7de1c0988f02 (patch)
treea8211a8a4613554948ee42c728fb5bf4dd9ae4b7 /meta
parentbd193a0115c564d8c16bd09a7df6ae9867b51445 (diff)
ast2050-yocto-poky-6e539bf7a5ed1af7f379880d54ce7de1c0988f02.tar.gz Fix condition to skip parsing the recipe for non-glibc libc
The condition should be uclibc 'or' musl then we know its not glibc right now it checks with 'and' operator, that condition will never be true Change-Id: Ifc48e81fd0b3c18d8e1ef76a18c216dc6acda092 (From OE-Core rev: 6feef44751d98c55a2764d70c26d170f90b73f9d) Signed-off-by: Khem Raj <> Signed-off-by: Ross Burton <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta')
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/glibc/ b/meta/recipes-core/glibc/
index 6e54046..693d937 100644
--- a/meta/recipes-core/glibc/
+++ b/meta/recipes-core/glibc/
@@ -67,7 +67,7 @@ GLIBC_BROKEN_LOCALES = " _ER _ET so_ET yn_ER sid_ET tr_TR mn_MN gez_ET gez_ER bn
python __anonymous () {
import re
- notglibc = (re.match('.*uclibc$', d.getVar('TARGET_OS', True)) != None) and (re.match('.*musl$', d.getVar('TARGET_OS', True)) != None)
+ notglibc = (re.match('.*uclibc$', d.getVar('TARGET_OS', True)) != None) or (re.match('.*musl$', d.getVar('TARGET_OS', True)) != None)
if notglibc:
raise bb.parse.SkipPackage("incompatible with target %s" %
d.getVar('TARGET_OS', True))
OpenPOWER on IntegriCloud