buildroot: convert remaining WGET users to DOWNLOAD helper
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 16 Jan 2009 12:07:53 +0000 (12:07 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 16 Jan 2009 12:07:53 +0000 (12:07 -0000)
package/mpfr/mpfr.mk
package/setserial/setserial.mk
target/linux/Makefile.in
target/linux/Makefile.in.advanced
target/u-boot/Makefile.in
toolchain/kernel-headers/kernel-headers-new.makefile

index 631be64a046d42c4dcc44d7fecdd606c98a2eadf..48b080dd795f71bdb426674f69d031fb011ed4b3 100644 (file)
@@ -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):
index 394ae46375a26ee3868a0d125a0acdebc33dfe49..73ef6015e160a6bd1be2789d713760f073bc2a44 100644 (file)
@@ -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
index 625a2e24444d784059da8728e2bc5df8dbbb4dd2..30ef3b92a1699683ac7b521babe80abb2be07ff5 100644 (file)
@@ -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)
index 15dff261e15b5d8f51e8cfb3dc90a6f2d3a25e15..d2d985b530cc506de3a819298d068b8e44d96c5d 100644 (file)
@@ -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)
index b5bb8e1ddc1c75e64002ecc13e305f851cf8d23c..baf331da7fcc1b9ea7f54e1a246737a0928ddcb3 100644 (file)
@@ -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) \
index 42c943d8789736832c6be6d83b348f3df5c9c04e..7b66578efbd61daa058f4cab45da01b8d1d072e0 100644 (file)
@@ -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)