summaryrefslogtreecommitdiffstats
path: root/meta/packages/glibc/glibc-package.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/glibc/glibc-package.bbclass')
-rw-r--r--meta/packages/glibc/glibc-package.bbclass26
1 files changed, 13 insertions, 13 deletions
diff --git a/meta/packages/glibc/glibc-package.bbclass b/meta/packages/glibc/glibc-package.bbclass
index 84541c69f0..b8f527f97a 100644
--- a/meta/packages/glibc/glibc-package.bbclass
+++ b/meta/packages/glibc/glibc-package.bbclass
@@ -123,23 +123,23 @@ rm -rf ${TMP_LOCALE}
123} 123}
124 124
125python __anonymous () { 125python __anonymous () {
126 enabled = bb.data.getVar("ENABLE_BINARY_LOCALE_GENERATION", d, 1) 126 enabled = bb.data.getVar("ENABLE_BINARY_LOCALE_GENERATION", d, 1)
127 127
128 if enabled and int(enabled): 128 if enabled and int(enabled):
129 import re 129 import re
130 130
131 target_arch = bb.data.getVar("TARGET_ARCH", d, 1) 131 target_arch = bb.data.getVar("TARGET_ARCH", d, 1)
132 binary_arches = bb.data.getVar("BINARY_LOCALE_ARCHES", d, 1) or "" 132 binary_arches = bb.data.getVar("BINARY_LOCALE_ARCHES", d, 1) or ""
133 133
134 for regexp in binary_arches.split(" "): 134 for regexp in binary_arches.split(" "):
135 r = re.compile(regexp) 135 r = re.compile(regexp)
136 136
137 if r.match(target_arch): 137 if r.match(target_arch):
138 depends = bb.data.getVar("DEPENDS", d, 1) 138 depends = bb.data.getVar("DEPENDS", d, 1)
139 depends = "%s qemu-native" % depends 139 depends = "%s qemu-native" % depends
140 bb.data.setVar("DEPENDS", depends, d) 140 bb.data.setVar("DEPENDS", depends, d)
141 bb.data.setVar("GLIBC_INTERNAL_USE_BINARY_LOCALE", "1", d) 141 bb.data.setVar("GLIBC_INTERNAL_USE_BINARY_LOCALE", "1", d)
142 break 142 break
143} 143}
144 144
145do_prep_locale_tree() { 145do_prep_locale_tree() {