mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 15:32:27 +02:00
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@583 311d38ba-8fff-0310-9ca6-ca027cbcb966
18 lines
495 B
PHP
18 lines
495 B
PHP
|
|
do_rig_locales() {
|
|
# If indicated, only build a limited selection of locales
|
|
if [ "x${LIMIT_BUILT_LOCALES}" != "${LIMIT_BUILT_LOCALES}" ]; then
|
|
INFILE="${S}/localedata/SUPPORTED"
|
|
OUTFILE="${S}/localedata/SUPPORTED.tmp"
|
|
head -n 3 $INFILE > $OUTFILE
|
|
for i in ${LIMIT_BUILT_LOCALES}; do
|
|
echo
|
|
grep $i $INFILE >> $OUTFILE
|
|
done
|
|
head --lines=-1 $OUTFILE > $INFILE
|
|
tail --lines=1 $OUTFILE | sed 's#\\##' >> $INFILE
|
|
fi
|
|
}
|
|
|
|
addtask rig_locales before do_compile after do_configure
|