From e428bc1f4d82ae376814a3668d694648f5e8e0d9 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Fri, 20 Dec 2002 21:52:24 +0000 Subject: 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. --- extra/locale/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'extra/locale') 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 -- cgit v1.2.3