summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc-package.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glibc/glibc-package.bbclass')
-rw-r--r--packages/glibc/glibc-package.bbclass9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/glibc/glibc-package.bbclass b/packages/glibc/glibc-package.bbclass
index 4cad10fd73..4f5894f792 100644
--- a/packages/glibc/glibc-package.bbclass
+++ b/packages/glibc/glibc-package.bbclass
@@ -78,6 +78,13 @@ do_install() {
grep -v $i ${WORKDIR}/SUPPORTED > ${WORKDIR}/SUPPORTED.tmp
mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED
done
+ # If indicated, only build a limited selection of locales
+ if [ "${LIMIT_BUILT_LOCALES}" != "${LIMIT_BUILT_LOCALES}" ]; then
+ for i in ${LIMIT_BUILT_LOCALES}; do
+ grep $i ${WORKDIR}/SUPPORTED > ${WORKDIR}/SUPPORTED.tmp
+ mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED
+ done
+ fi
rm -f ${D}/etc/rpc
}
@@ -236,7 +243,7 @@ python package_do_split_gconvs () {
def output_locale_binary(name, locale, encoding):
target_arch = bb.data.getVar("TARGET_ARCH", d, 1)
- qemu = "qemu-%s -r 2.6.16" % target_arch
+ qemu = "qemu-%s" % target_arch
pkgname = 'locale-base-' + legitimize_package_name(name)
m = re.match("(.*)\.(.*)", name)
if m: