diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-09-09 06:12:34 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-09-09 06:12:34 +0000 |
commit | 86be4f7e5a6a689578785ac5a5dfc3fee2d5b973 (patch) | |
tree | f0b39c39af28f4d7a785edeafe51a35db297ac3f /Makefile | |
parent | 48c0f2f304fb0c73f292d7df5eaa463774dc6bf4 (diff) |
Enable automagic locale data downloads
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -35,7 +35,7 @@ endif 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 @@ endif 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 |