git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6b68ae
)
glibc-package.bbclass: merge LOCALE_UTF8_ONLY from poky
author
Koen Kooi
<koen@openembedded.org>
Wed, 5 Dec 2007 08:24:16 +0000
(08:24 +0000)
committer
Koen Kooi
<koen@openembedded.org>
Wed, 5 Dec 2007 08:24:16 +0000
(08:24 +0000)
packages/glibc/glibc-package.bbclass
patch
|
blob
|
history
diff --git
a/packages/glibc/glibc-package.bbclass
b/packages/glibc/glibc-package.bbclass
index
1f14bb8
..
b96aae3
100644
(file)
--- 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)