diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2002-12-20 21:52:24 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2002-12-20 21:52:24 +0000 |
commit | e428bc1f4d82ae376814a3668d694648f5e8e0d9 (patch) | |
tree | 465e2a04057ba452250f4d9f149f0f8938c963a3 /extra | |
parent | c9d66e44af5c93a1ea5487fd9bff78274be65850 (diff) |
Add a target so that people can download and use pregenerated locale data
files instead of generating approx 40Mb of glibc locales to get the 300+
locales currently supported.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/locale/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/locale/Makefile b/extra/locale/Makefile index 7787f8aaa..983c91c30 100644 --- a/extra/locale/Makefile +++ b/extra/locale/Makefile @@ -111,6 +111,12 @@ links-target: locale_data.o uClibc_locale_data.h ln -sf ../../../extra/locale/locale_data.o ../../libc/misc/locale cp uClibc_locale_data.h ../../libc/sysdeps/linux/common/bits/ +pregen: + $(CC) $(CFLAGS_mmap) -c locale_data.c + $(STRIPTOOL) -x -R .note -R .comment locale_data.o + ln -sf ../../../extra/locale/locale_data.o ../../libc/misc/locale + cp uClibc_locale_data.h ../../libc/sysdeps/linux/common/bits/ + clean: rm -f *.[oa] *~ core rm -f gen_wc8bit gen_wctype gen_locale gen_ldc gen_collate |