buildroot: convert remaining WGET users to DOWNLOAD helper
This commit is contained in:
parent
ed5f6093c0
commit
3ff43a6838
@ -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):
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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) \
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user