summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/uclibc.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-14 15:17:39 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-14 15:17:39 +0000
commitfaf7b1d44e90d59400578509764297972bb4702c (patch)
treeac43be3f64de20ba51fdc76937ccadde891a63d9 /toolchain/uClibc/uclibc.mk
parent6a4e7fddf0ba5d57119c03ceccfb25ce92a553c2 (diff)
downloadbuildroot-novena-faf7b1d44e90d59400578509764297972bb4702c.tar.gz
buildroot-novena-faf7b1d44e90d59400578509764297972bb4702c.zip
Ulrich Hecht writes: This patch downloads uClibc-locale-030818.tgz to dl and copies it from
there instead of downloading it again for every uClibc build.
Diffstat (limited to 'toolchain/uClibc/uclibc.mk')
-rw-r--r--toolchain/uClibc/uclibc.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 82677a1b5..9d9128ead 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -26,6 +26,9 @@ endif
endif
UCLIBC_CAT:=$(BZCAT)
+UCLIBC_SITE_LOCALE:=http://www.uclibc.org/downloads
+UCLIBC_SOURCE_LOCALE:=uClibc-locale-030818.tgz
+
UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \
-e 's/i.86/i386/' \
-e 's/sparc.*/sparc/' \
@@ -61,11 +64,16 @@ $(DL_DIR)/$(UCLIBC_SOURCE):
mkdir -p $(DL_DIR)
$(WGET) -P $(DL_DIR) $(UCLIBC_SITE)/$(UCLIBC_SOURCE)
+$(DL_DIR)/$(UCLIBC_SOURCE_LOCALE):
+ mkdir -p $(DL_DIR)
+ $(WGET) -P $(DL_DIR) $(UCLIBC_SITE_LOCALE)/$(UCLIBC_SOURCE_LOCALE)
+
uclibc-unpacked: $(UCLIBC_DIR)/.unpacked
-$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE)
+$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE)
mkdir -p $(TOOL_BUILD_DIR)
$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc-$(UCLIBC_VER)\*.patch
+ cp -p $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) $(UCLIBC_DIR)/extra/locale/
touch $(UCLIBC_DIR)/.unpacked
# Some targets may wish to provide their own UCLIBC_CONFIG_FILE...