diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-28 17:48:27 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-28 17:48:27 +0000 |
commit | 5599ea7fb19258cc7695c9a38219c75338578759 (patch) | |
tree | 721b5eed1be9e3f6520f90e00875730c8410e6d2 /meta/packages/glibc/glibc-package.bbclass | |
parent | c5b80f33c555d4fd0576f31bafad022ceba508ae (diff) | |
download | poky-5599ea7fb19258cc7695c9a38219c75338578759.tar.gz |
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.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/packages/glibc/glibc-package.bbclass b/meta/packages/glibc/glibc-package.bbclass index d6decfb709..680831e822 100644 --- a/meta/packages/glibc/glibc-package.bbclass +++ b/meta/packages/glibc/glibc-package.bbclass | |||
@@ -77,6 +77,13 @@ do_install() { | |||
77 | grep -v $i ${WORKDIR}/SUPPORTED > ${WORKDIR}/SUPPORTED.tmp | 77 | grep -v $i ${WORKDIR}/SUPPORTED > ${WORKDIR}/SUPPORTED.tmp |
78 | mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED | 78 | mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED |
79 | done | 79 | done |
80 | # If indicated, only build a limited selection of locales | ||
81 | if [ "${LIMIT_BUILT_LOCALES}" != "${LIMIT_BUILT_LOCALES}" ]; then | ||
82 | for i in ${LIMIT_BUILT_LOCALES}; do | ||
83 | grep $i ${WORKDIR}/SUPPORTED > ${WORKDIR}/SUPPORTED.tmp | ||
84 | mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED | ||
85 | done | ||
86 | fi | ||
80 | rm -f ${D}/etc/rpc | 87 | rm -f ${D}/etc/rpc |
81 | } | 88 | } |
82 | 89 | ||