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 | 79b24fb2234d071031cfa777b569e3b63fee107d (patch) | |
tree | d7118d7e311f3aca8ccfb84a032cfce91331ed51 /target | |
parent | 395698ec391b9aacacd52658f1073ef078af3bf1 (diff) | |
download | upstream-79b24fb2234d071031cfa777b569e3b63fee107d.tar.gz upstream-79b24fb2234d071031cfa777b569e3b63fee107d.tar.bz2 upstream-79b24fb2234d071031cfa777b569e3b63fee107d.zip |
add downloading script (with md5sum checking and sourceforge downloading support)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@391 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/jffs2/jffs2root.mk | 2 | ||||
-rw-r--r-- | target/squashfs-lzma/squashfslzmaroot.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target/jffs2/jffs2root.mk b/target/jffs2/jffs2root.mk index 1c7b962cfe..450c741f72 100644 --- a/target/jffs2/jffs2root.mk +++ b/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/target/squashfs-lzma/squashfslzmaroot.mk b/target/squashfs-lzma/squashfslzmaroot.mk index ee7ede84b0..62b7dbb7b7 100644 --- a/target/squashfs-lzma/squashfslzmaroot.mk +++ b/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 - |