[uClibc-cvs] uClibc Makefile,1.216,1.217

Erik Andersen andersen at uclibc.org
Tue Sep 9 06:12:36 UTC 2003


Update of /var/cvs/uClibc
In directory winder:/tmp/cvs-serv27415

Modified Files:
	Makefile 
Log Message:
Enable automagic locale data downloads


Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/Makefile,v
retrieving revision 1.216
retrieving revision 1.217
diff -u -d -r1.216 -r1.217
--- Makefile	8 Sep 2003 20:33:00 -0000	1.216
+++ Makefile	9 Sep 2003 06:12:30 -0000	1.217
@@ -35,7 +35,7 @@
 
 ifeq ($(strip $(HAVE_DOT_CONFIG)),y)
 
-all: headers subdirs shared utils finished
+all: headers pregen subdirs shared utils finished
 
 # In this section, we need .config
 -include .config.cmd
@@ -164,6 +164,20 @@
 	fi
 	$(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) headers
 
+# Command used to download source code
+WGET:=wget --passive-ftp
+
+pregen: headers
+ifeq ($(strip $(UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA)),y)
+	(cd extra/locale; \
+	$(WGET) http://www.uclibc.org/downloads/uClibc-locale-030818.tgz);
+endif
+ifeq ($(strip $(UCLIBC_PREGENERATED_LOCALE_DATA)),y)
+	(cd extra/locale; zcat uClibc-locale-030818.tgz | tar -xvf -)
+	make -C extra/locale pregen
+endif
+
+
 subdirs: $(patsubst %, _dir_%, $(DIRS))
 
 $(patsubst %, _dir_%, $(DIRS)) : dummy




More information about the uClibc-cvs mailing list