summaryrefslogtreecommitdiff
path: root/meta/packages/glibc/glibc-package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-28 17:48:27 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-28 17:48:27 +0000
commit5599ea7fb19258cc7695c9a38219c75338578759 (patch)
tree721b5eed1be9e3f6520f90e00875730c8410e6d2 /meta/packages/glibc/glibc-package.bbclass
parentc5b80f33c555d4fd0576f31bafad022ceba508ae (diff)
downloadopenembedded-core-5599ea7fb19258cc7695c9a38219c75338578759.tar.gz
openembedded-core-5599ea7fb19258cc7695c9a38219c75338578759.tar.bz2
openembedded-core-5599ea7fb19258cc7695c9a38219c75338578759.tar.xz
openembedded-core-5599ea7fb19258cc7695c9a38219c75338578759.zip
glibc: Limit the locales that are generated under qemu. Note this patch totally trashes the other locales and would therefore need refinement for OE.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@583 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/glibc/glibc-package.bbclass')
-rw-r--r--meta/packages/glibc/glibc-package.bbclass7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/packages/glibc/glibc-package.bbclass b/meta/packages/glibc/glibc-package.bbclass
index d6decfb70..680831e82 100644
--- a/meta/packages/glibc/glibc-package.bbclass
+++ b/meta/packages/glibc/glibc-package.bbclass
@@ -77,6 +77,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
}