From 4a7bfd27757e076837e400f18d8371d792eade0e Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 16 Jan 2009 11:42:52 +0000 Subject: package/: convert to DOWNLOAD helper --- package/mtd/20050122/mtd.mk | 2 +- package/mtd/20061007/mtd.mk | 2 +- package/mtd/mtd-utils.git/mtd.mk | 2 +- package/mtd/mtd-utils/mtd.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'package/mtd') diff --git a/package/mtd/20050122/mtd.mk b/package/mtd/20050122/mtd.mk index 20edfb450..b5a9d5c50 100644 --- a/package/mtd/20050122/mtd.mk +++ b/package/mtd/20050122/mtd.mk @@ -22,7 +22,7 @@ SUMTOOL := $(MTD_HOST_DIR)/util/sumtool ifneq ($(MTD_SOURCE),) $(DL_DIR)/$(MTD_SOURCE): - $(WGET) -P $(DL_DIR) $(MTD_SITE)/$(MTD_SOURCE) + $(call DOWNLOAD,$(MTD_SITE),$(MTD_SOURCE)) endif $(MTD_HOST_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE) diff --git a/package/mtd/20061007/mtd.mk b/package/mtd/20061007/mtd.mk index 7d74a6474..dfd348579 100644 --- a/package/mtd/20061007/mtd.mk +++ b/package/mtd/20061007/mtd.mk @@ -20,7 +20,7 @@ MKFS_JFFS2 := $(MTD_HOST_DIR)/mkfs.jffs2 SUMTOOL := $(MTD_HOST_DIR)/sumtool $(DL_DIR)/$(MTD_SOURCE): - $(WGET) -P $(DL_DIR) $(MTD_SITE)/$(MTD_SOURCE) + $(call DOWNLOAD,$(MTD_SITE),$(MTD_SOURCE)) $(MTD_HOST_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE) $(MTD_CAT) $(DL_DIR)/$(MTD_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) - diff --git a/package/mtd/mtd-utils.git/mtd.mk b/package/mtd/mtd-utils.git/mtd.mk index ca25ee56b..e4ec4b29e 100644 --- a/package/mtd/mtd-utils.git/mtd.mk +++ b/package/mtd/mtd-utils.git/mtd.mk @@ -21,7 +21,7 @@ MKFS_JFFS2 := $(MTD_HOST_DIR)/mkfs.jffs2 SUMTOOL := $(MTD_HOST_DIR)/sumtool $(DL_DIR)/$(MTD_SOURCE): - $(WGET) -O $(DL_DIR)/$(MTD_SOURCE) "$(MTD_URL)" + $(call DOWNLOAD,"$(MTD_URL)") $(MTD_HOST_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE) $(MTD_CAT) $(DL_DIR)/$(MTD_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) - diff --git a/package/mtd/mtd-utils/mtd.mk b/package/mtd/mtd-utils/mtd.mk index 56120174c..f6b67da93 100644 --- a/package/mtd/mtd-utils/mtd.mk +++ b/package/mtd/mtd-utils/mtd.mk @@ -21,7 +21,7 @@ MKFS_JFFS2 := $(MTD_HOST_DIR)/mkfs.jffs2 SUMTOOL := $(MTD_HOST_DIR)/sumtool $(DL_DIR)/$(MTD_SOURCE): - $(WGET) -P $(DL_DIR) $(MTD_SITE)/$(MTD_SOURCE) + $(call DOWNLOAD,$(MTD_SITE),$(MTD_SOURCE)) $(MTD_HOST_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE) $(MTD_CAT) $(DL_DIR)/$(MTD_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) - -- cgit v1.2.3