diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-03-19 22:51:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-03-19 22:51:51 +0000 |
commit | 682367d8ec7ec429de0f89a5b6679ec2abd70325 (patch) | |
tree | 27e1619e831268ea1fef78626ca3380be26e4325 /openwrt/target | |
parent | 97d994fb22b2c9044f5e8ee72b9842c3827ddeb9 (diff) | |
download | mtk-20170518-682367d8ec7ec429de0f89a5b6679ec2abd70325.zip mtk-20170518-682367d8ec7ec429de0f89a5b6679ec2abd70325.tar.gz mtk-20170518-682367d8ec7ec429de0f89a5b6679ec2abd70325.tar.bz2 |
add downloading script (with md5sum checking and sourceforge downloading support)
SVN-Revision: 391
Diffstat (limited to 'openwrt/target')
-rw-r--r-- | openwrt/target/jffs2/jffs2root.mk | 2 | ||||
-rw-r--r-- | openwrt/target/squashfs-lzma/squashfslzmaroot.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/target/jffs2/jffs2root.mk b/openwrt/target/jffs2/jffs2root.mk index 1c7b962..450c741 100644 --- a/openwrt/target/jffs2/jffs2root.mk +++ b/openwrt/target/jffs2/jffs2root.mk @@ -10,7 +10,7 @@ MTD_SITE=http://ftp.debian.org/debian/pool/main/m/mtd MKFS_JFFS2=$(shell which mkfs.jffs2 2>/dev/null || echo $(MTD_DIR)/util/mkfs.jffs2) $(DL_DIR)/$(MTD_SOURCE): - $(WGET) -P $(DL_DIR) $(MTD_SITE)/$(MTD_SOURCE) + $(SCRIPT_DIR)/download.pl $(DL_DIR) $(MTD_SOURCE) x $(MTD_SITE) $(MTD_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE) zcat $(DL_DIR)/$(MTD_SOURCE) | tar -C $(BUILD_DIR) -xvf - diff --git a/openwrt/target/squashfs-lzma/squashfslzmaroot.mk b/openwrt/target/squashfs-lzma/squashfslzmaroot.mk index ee7ede8..62b7dbb 100644 --- a/openwrt/target/squashfs-lzma/squashfslzmaroot.mk +++ b/openwrt/target/squashfs-lzma/squashfslzmaroot.mk @@ -9,7 +9,7 @@ SQUASHFSLZMA_SOURCE=squashfs2.1-r2-lzma.tar.gz SQUASHFSLZMA_SITE=http://openwrt.openbsd-geek.de $(DL_DIR)/$(SQUASHFSLZMA_SOURCE): - $(WGET) -P $(DL_DIR) $(SQUASHFSLZMA_SITE)/$(SQUASHFSLZMA_SOURCE) + $(SCRIPT_DIR)/download.pl $(DL_DIR) $(SQUASHFSLZMA_SOURCE) x $(SQUASHFSLZMA_SITE) $(SQUASHFSLZMA_DIR)/.unpacked: $(DL_DIR)/$(SQUASHFSLZMA_SOURCE) zcat $(DL_DIR)/$(SQUASHFSLZMA_SOURCE) | tar -C $(BUILD_DIR) -xvf - |