summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc-package.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-12-23 10:50:30 +0000
committerKoen Kooi <koen@openembedded.org>2007-12-23 10:50:30 +0000
commite49ed8da00b7a5d874fd92a806c6b036a726069c (patch)
tree4c2986b1f377b0363e6637cc792e8e553c2b39a4 /packages/glibc/glibc-package.bbclass
parent95580064683ef83263017dce9b610c74306348bb (diff)
parenta5ab4c1e92a80b977b53072b349e05ab0f097dd1 (diff)
merge of '6765ce1f621a9ef917ba1521afc7b81013e14dc2'
and 'fcc520f13c2e5df6e6b7d52dcbfb32cb1750c941'
Diffstat (limited to 'packages/glibc/glibc-package.bbclass')
-rw-r--r--packages/glibc/glibc-package.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/glibc/glibc-package.bbclass b/packages/glibc/glibc-package.bbclass
index 1f14bb83fb..b96aae37b9 100644
--- a/packages/glibc/glibc-package.bbclass
+++ b/packages/glibc/glibc-package.bbclass
@@ -220,10 +220,13 @@ python package_do_split_gconvs () {
dot_re = re.compile("(.*)\.(.*)")
# Collate the locales by base and encoding
+ utf8_only = int(bb.data.getVar('LOCALE_UTF8_ONLY', d, 1) or 0)
encodings = {}
for l in supported:
l = l[:-1]
(locale, charset) = l.split(" ")
+ if utf8_only and charset != 'UTF-8':
+ continue
m = dot_re.match(locale)
if m:
locale = m.group(1)