summaryrefslogtreecommitdiff
path: root/package/mdadm/mdadm.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/mdadm/mdadm.mk')
-rw-r--r--package/mdadm/mdadm.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mdadm/mdadm.mk b/package/mdadm/mdadm.mk
index 68a58dbe0..1e330275c 100644
--- a/package/mdadm/mdadm.mk
+++ b/package/mdadm/mdadm.mk
@@ -15,11 +15,11 @@ MDADM_TARGET_BINARY:=sbin/mdadm
ifneq ($(MDADM_PATCH),)
MDADM_PATCH_FILE:=$(DL_DIR)/$(MDADM_PATCH)
$(MDADM_PATCH_FILE):
- $(WGET) -P $(DL_DIR) $(MDADM_SITE)/$(MDADM_PATCH)
+ $(call DOWNLOAD,$(MDADM_SITE),$(MDADM_PATCH))
endif
$(DL_DIR)/$(MDADM_SOURCE): $(MDADM_PATCH_FILE)
- $(WGET) -P $(DL_DIR) $(MDADM_SITE)/$(MDADM_SOURCE)
+ $(call DOWNLOAD,$(MDADM_SITE),$(MDADM_SOURCE))
touch -c $@
$(MDADM_DIR)/.unpacked: $(DL_DIR)/$(MDADM_SOURCE)