diff options
-rw-r--r-- | package/mpfr/mpfr.mk | 3 | ||||
-rw-r--r-- | package/setserial/setserial.mk | 2 | ||||
-rw-r--r-- | target/linux/Makefile.in | 2 | ||||
-rw-r--r-- | target/linux/Makefile.in.advanced | 4 | ||||
-rw-r--r-- | target/u-boot/Makefile.in | 2 | ||||
-rw-r--r-- | toolchain/kernel-headers/kernel-headers-new.makefile | 2 |
6 files changed, 8 insertions, 7 deletions
diff --git a/package/mpfr/mpfr.mk b/package/mpfr/mpfr.mk index 631be64a0..48b080dd7 100644 --- a/package/mpfr/mpfr.mk +++ b/package/mpfr/mpfr.mk @@ -21,7 +21,8 @@ ifneq ($(MPFR_PATCH),) MPFR_PATCH_SOURCE:=$(DL_DIR)/$(MPFR_PATCH_FILE) $(MPFR_PATCH_SOURCE): - $(WGET) -O $@ $(MPFR_SITE),$(MPFR_PATCH) + $(call DOWNLOAD,$(MPFR_SITE),$(MPFR_PATCH)) + mv $(DL_DIR)/$(MPFR_PATCH) $@ endif $(DL_DIR)/$(MPFR_SOURCE): diff --git a/package/setserial/setserial.mk b/package/setserial/setserial.mk index 394ae4637..73ef6015e 100644 --- a/package/setserial/setserial.mk +++ b/package/setserial/setserial.mk @@ -18,7 +18,7 @@ $(DL_DIR)/$(SETSERIAL_SOURCE): ifneq ($(SETSERIAL_PATCH_FILE),) SETSERIAL_PATCH:=$(DL_DIR)/$(SETSERIAL_PATCH_FILE) $(SETSERIAL_PATCH): - $(WGET) -O $@ $(SETSERIAL_SITE),$(SETSERIAL_PATCH_FILE) + $(call DOWNLOAD,$(SETSERIAL_SITE),$(SETSERIAL_PATCH_FILE)) else SETSERIAL_PATCH:= endif diff --git a/target/linux/Makefile.in b/target/linux/Makefile.in index 625a2e244..30ef3b92a 100644 --- a/target/linux/Makefile.in +++ b/target/linux/Makefile.in @@ -108,7 +108,7 @@ $(LINUX26_KCONFIG): ifneq ($(strip $(LINUX26_VERSION)),$(strip $(LINUX_HEADERS_VERSION))) $(DL_DIR)/$(LINUX26_SOURCE): - $(WGET) -P $(DL_DIR) $(LINUX26_SITE)/$(LINUX26_SOURCE) + $(call DOWNLOAD,$(LINUX26_SITE),$(LINUX26_SOURCE)) endif # ($(LINUX26_VERSION),$(LINUX_HEADERS_VERSION)) $(LINUX26_DIR)/.unpacked: $(DL_DIR)/$(LINUX26_SOURCE) diff --git a/target/linux/Makefile.in.advanced b/target/linux/Makefile.in.advanced index 15dff261e..d2d985b53 100644 --- a/target/linux/Makefile.in.advanced +++ b/target/linux/Makefile.in.advanced @@ -203,12 +203,12 @@ LINUX26_MAKE_FLAGS = HOSTCC="$(HOSTCC)" HOSTCFLAGS="$(HOSTCFLAGS)" \ ifneq ($(strip $(LINUX26_SOURCE)),$(strip $(LINUX_HEADERS_SOURCE))) $(DL_DIR)/$(LINUX26_SOURCE): - $(WGET) -P $(DL_DIR) $(LINUX26_SITE)/$(LINUX26_SOURCE) + $(call DOWNLOAD,$(LINUX26_SITE),$(LINUX26_SOURCE)) endif # ($(LINUX26_VERSION),$(LINUX_HEADERS_VERSION)) ifneq ($(strip $(LINUX26_PATCH_SOURCE)),) $(DL_DIR)/$(LINUX26_PATCH_SOURCE): - $(WGET) -P $(DL_DIR) $(LINUX26_PATCH_SITE)/$(LINUX26_PATCH_SOURCE) + $(call DOWNLOAD,$(LINUX26_PATCH_SITE),$(LINUX26_PATCH_SOURCE)) endif $(LINUX26_DIR)/.unpacked: $(DL_DIR)/$(LINUX26_SOURCE) diff --git a/target/u-boot/Makefile.in b/target/u-boot/Makefile.in index b5bb8e1dd..baf331da7 100644 --- a/target/u-boot/Makefile.in +++ b/target/u-boot/Makefile.in @@ -76,7 +76,7 @@ endef #")) $(DL_DIR)/$(U_BOOT_SOURCE): - $(WGET) -P $(DL_DIR) $(U_BOOT_SITE)/$(U_BOOT_SOURCE) + $(call DOWNLOAD,$(U_BOOT_SITE),$(U_BOOT_SOURCE)) $(U_BOOT_DIR)/.unpacked: $(DL_DIR)/$(U_BOOT_SOURCE) $(U_BOOT_CAT) $(DL_DIR)/$(U_BOOT_SOURCE) \ diff --git a/toolchain/kernel-headers/kernel-headers-new.makefile b/toolchain/kernel-headers/kernel-headers-new.makefile index 42c943d87..7b66578ef 100644 --- a/toolchain/kernel-headers/kernel-headers-new.makefile +++ b/toolchain/kernel-headers/kernel-headers-new.makefile @@ -45,7 +45,7 @@ LINUX_RT_SOURCE:=patch-$(LINUX_HEADERS_VERSION)-$(LINUX_RT_VERSION) LINUX_RT_SITE:=$(BR2_KERNEL_MIRROR)/linux/kernel/projects/rt/older/ LINUX_HEADERS_DEPENDS+=$(DL_DIR)/$(LINUX_RT_SOURCE) $(DL_DIR)/$(LINUX_RT_SOURCE): - $(WGET) -P $(DL_DIR) $(LINUX_RT_SITE)/$(LINUX_RT_SOURCE) + $(call DOWNLOAD,$(LINUX_RT_SITE),$(LINUX_RT_SOURCE)) endif $(LINUX_HEADERS_UNPACK_DIR)/.unpacked: $(DL_DIR)/$(LINUX_HEADERS_SOURCE) |