From 5599ea7fb19258cc7695c9a38219c75338578759 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 28 Jul 2006 17:48:27 +0000 Subject: 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 --- meta/packages/glibc/glibc-package.bbclass | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta/packages/glibc/glibc-package.bbclass') 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 } -- cgit v1.2.3