diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-16 11:47:05 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-16 11:47:05 +0000 |
commit | 0ef35d5d5efed2d323c1fc7a3f2cc7b1ed977da3 (patch) | |
tree | 8cca7addd50bc3860595d9af5e018bcff0dbed05 | |
parent | 4a7bfd27757e076837e400f18d8371d792eade0e (diff) |
toolchain/: convert to DOWNLOAD helper
-rw-r--r-- | toolchain/binutils/binutils.mk | 2 | ||||
-rw-r--r-- | toolchain/ccache/ccache.mk | 2 | ||||
-rw-r--r-- | toolchain/gcc/gcc-uclibc-3.x.mk | 2 | ||||
-rw-r--r-- | toolchain/gcc/gcc-uclibc-4.x.mk | 2 | ||||
-rw-r--r-- | toolchain/gdb/gdb.mk | 2 | ||||
-rw-r--r-- | toolchain/kernel-headers/kernel-headers.mk | 2 | ||||
-rw-r--r-- | toolchain/uClibc/uclibc.mk | 4 |
7 files changed, 8 insertions, 8 deletions
diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk index a9ec7d352..c285c6a62 100644 --- a/toolchain/binutils/binutils.mk +++ b/toolchain/binutils/binutils.mk @@ -84,7 +84,7 @@ BINUTILS_DIR1:=$(TOOL_BUILD_DIR)/binutils-$(BINUTILS_VERSION)-build $(DL_DIR)/$(BINUTILS_SOURCE): mkdir -p $(DL_DIR) - $(WGET) -P $(DL_DIR) $(BINUTILS_SITE)/$(BINUTILS_SOURCE) + $(call DOWNLOAD,$(BINUTILS_SITE),$(BINUTILS_SOURCE)) binutils-unpacked: $(BINUTILS_DIR)/.patched $(BINUTILS_DIR)/.unpacked: $(DL_DIR)/$(BINUTILS_SOURCE) diff --git a/toolchain/ccache/ccache.mk b/toolchain/ccache/ccache.mk index d34bfb3e7..723b8719f 100644 --- a/toolchain/ccache/ccache.mk +++ b/toolchain/ccache/ccache.mk @@ -13,7 +13,7 @@ CCACHE_BINARY:=ccache CCACHE_TARGET_BINARY:=usr/bin/ccache $(DL_DIR)/$(CCACHE_SOURCE): - $(WGET) -P $(DL_DIR) $(CCACHE_SITE)/$(CCACHE_SOURCE) + $(call DOWNLOAD,$(CCACHE_SITE),$(CCACHE_SOURCE)) $(CCACHE_DIR1)/.unpacked: $(DL_DIR)/$(CCACHE_SOURCE) $(CCACHE_CAT) $(DL_DIR)/$(CCACHE_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) - diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk index 3f1a3cac4..fc59b6bf6 100644 --- a/toolchain/gcc/gcc-uclibc-3.x.mk +++ b/toolchain/gcc/gcc-uclibc-3.x.mk @@ -138,7 +138,7 @@ GCC_BUILD_DIR1:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)-initial $(DL_DIR)/$(GCC_SOURCE): mkdir -p $(DL_DIR) - $(WGET) -P $(DL_DIR) $(GCC_SITE)/$(GCC_SOURCE) + $(call DOWNLOAD,$(GCC_SITE),$(GCC_SOURCE)) gcc-unpacked: $(GCC_DIR)/.patched $(GCC_DIR)/.unpacked: $(DL_DIR)/$(GCC_SOURCE) diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk index 793e36840..88878a8ce 100644 --- a/toolchain/gcc/gcc-uclibc-4.x.mk +++ b/toolchain/gcc/gcc-uclibc-4.x.mk @@ -149,7 +149,7 @@ HOST_SOURCE+=gcc-source $(DL_DIR)/$(GCC_SOURCE): mkdir -p $(DL_DIR) - $(WGET) -P $(DL_DIR) $(GCC_SITE)/$(GCC_SOURCE) + $(call DOWNLOAD,$(GCC_SITE),$(GCC_SOURCE)) gcc-unpacked: $(GCC_DIR)/.patched $(GCC_DIR)/.unpacked: $(DL_DIR)/$(GCC_SOURCE) diff --git a/toolchain/gdb/gdb.mk b/toolchain/gdb/gdb.mk index f239dba01..6e46c0bd1 100644 --- a/toolchain/gdb/gdb.mk +++ b/toolchain/gdb/gdb.mk @@ -41,7 +41,7 @@ endif endif $(DL_DIR)/$(GDB_SOURCE): - $(WGET) -P $(DL_DIR) $(GDB_SITE)/$(GDB_SOURCE) + $(call DOWNLOAD,$(GDB_SITE),$(GDB_SOURCE)) gdb-unpacked: $(GDB_DIR)/.unpacked $(GDB_DIR)/.unpacked: $(DL_DIR)/$(GDB_SOURCE) diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-headers/kernel-headers.mk index 50326c6cd..dd8155598 100644 --- a/toolchain/kernel-headers/kernel-headers.mk +++ b/toolchain/kernel-headers/kernel-headers.mk @@ -31,7 +31,7 @@ include toolchain/kernel-headers/kernel-headers-new.makefile include toolchain/kernel-headers/kernel-headers-old.makefile $(DL_DIR)/$(LINUX_HEADERS_SOURCE): - $(WGET) -P $(DL_DIR) $(LINUX_HEADERS_SITE)/$(LINUX_HEADERS_SOURCE) + $(call DOWNLOAD,$(LINUX_HEADERS_SITE),$(LINUX_HEADERS_SOURCE)) kernel-headers: $(LINUX_HEADERS_DIR)/.configured diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk index af35e33d2..b595b22d7 100644 --- a/toolchain/uClibc/uclibc.mk +++ b/toolchain/uClibc/uclibc.mk @@ -94,14 +94,14 @@ UCLIBC_SPARC_TYPE:=CONFIG_SPARC_$(strip $(subst ",, $(BR2_SPARC_TYPE))) #")) $(DL_DIR)/$(UCLIBC_SOURCE): - $(WGET) -P $(DL_DIR) $(UCLIBC_SITE)/$(UCLIBC_SOURCE) + $(call DOWNLOAD,$(UCLIBC_SITE),$(UCLIBC_SOURCE)) ifneq ($(BR2_ENABLE_LOCALE_PREGENERATED),) UCLIBC_SITE_LOCALE:=http://www.uclibc.org/downloads UCLIBC_SOURCE_LOCALE:=uClibc-locale-030818.tgz $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE): - $(WGET) -P $(DL_DIR) $(UCLIBC_SITE_LOCALE)/$(UCLIBC_SOURCE_LOCALE) + $(call DOWNLOAD,$(UCLIBC_SITE_LOCALE),$(UCLIBC_SOURCE_LOCALE)) UCLIBC_LOCALE_DATA:=$(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) else |