package/: convert to DOWNLOAD helper
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 16 Jan 2009 11:42:52 +0000 (11:42 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 16 Jan 2009 11:42:52 +0000 (11:42 -0000)
227 files changed:
package/acpid/acpid.mk
package/argus/argus.mk
package/at/at.mk
package/autoconf/autoconf.mk
package/automake/automake.mk
package/avahi/avahi.mk
package/axel/axel.mk
package/bash/bash.mk
package/berkeleydb/berkeleydb.mk
package/bind/bind.mk
package/bison/bison.mk
package/boa/boa.mk
package/bsdiff/bsdiff.mk
package/busybox/busybox.mk
package/bzip2/bzip2.mk
package/coreutils/coreutils.mk
package/cups/cups.mk
package/cvs/cvs.mk
package/dash/dash.mk
package/database/sqlite/sqlite.mk
package/dbus-glib/dbus-glib.mk
package/dbus/dbus.mk
package/devmem2/devmem2.mk
package/dhcp/dhcp.mk
package/dialog/dialog.mk
package/diffutils/diffutils.mk
package/dillo/dillo.mk
package/directfb/directfb.mk
package/distcc/distcc.mk
package/dm/dm.mk
package/dmalloc/dmalloc.mk
package/dmraid/dmraid.mk
package/dnsmasq/dnsmasq.mk
package/dropbear/dropbear.mk
package/dummy/dummy.mk
package/e2fsprogs/e2fsprogs.mk
package/editors/nano/nano.mk
package/editors/uemacs/uemacs.mk
package/editors/vim/vim.mk
package/eeprog/eeprog.mk
package/expat/expat.mk
package/ezxml/ezxml.mk
package/fakeroot/fakeroot.mk
package/fbset/fbset.mk
package/fbv/fbv.mk
package/fconfig/fconfig.mk
package/file/file.mk
package/findutils/findutils.mk
package/fis/fis.mk
package/flex/flex.mk
package/fuse/libfuse.mk
package/gadgetfs-test/gadgetfs-test.mk
package/games/doom-wad/doom-wads.mk
package/gawk/gawk.mk
package/gettext/gettext.mk
package/gmp/gmp.mk
package/gtk2-engines/gtk2-engines.mk
package/gzip/gzip.mk
package/hal/hal.mk
package/hdparm/hdparm.mk
package/hostap/hostap.mk
package/hwdata/hwdata.mk
package/i2c-tools/i2c-tools.mk
package/icu/icu.mk
package/imagemagick/imagemagick.mk
package/input-tools/input-tools.mk
package/iostat/iostat.mk
package/iproute2/iproute2.mk
package/ipsec-tools/ipsec-tools.mk
package/java/concierge/concierge.mk
package/jpeg/jpeg.mk
package/kexec/kexec.mk
package/kismet/kismet.mk
package/l2tp/l2tp.mk
package/less/less.mk
package/libaio/libaio.mk
package/libcgi/libcgi.mk
package/libcgicc/libcgicc.mk
package/libdrm/libdrm.mk
package/libeXosip2/libeXosip2.mk
package/libelf/libelf.mk
package/liberation/liberation.mk
package/libevent/libevent.mk
package/libfloat/libfloat.mk
package/libgcrypt/libgcrypt.mk
package/libglib12/libglib12.mk
package/libgpg-error/libgpg-error.mk
package/libgtk12/libgtk12.mk
package/liblockfile/liblockfile.mk
package/libosip2/libosip2.mk
package/libpcap/libpcap.mk
package/libraw1394/libraw1394.mk
package/libsysfs/libsysfs.mk
package/libtool/libtool.mk
package/libungif/libungif.mk
package/libusb/libusb.mk
package/links/links.mk
package/linux-fusion/linux-fusion.mk
package/lm-sensors/lm-sensors.mk
package/lockfile-progs/lockfile-progs.mk
package/logrotate/logrotate.mk
package/lrzsz/lrzsz.mk
package/lsof/lsof.mk
package/ltp-testsuite/ltp-testsuite.mk
package/ltrace/ltrace.mk
package/ltt/ltt.mk
package/lua/lua.mk
package/lvm2/lvm2.mk
package/lzma/lzma.mk
package/m4/m4.mk
package/make/make.mk
package/matchbox/matchbox.mk
package/mdadm/mdadm.mk
package/mdnsresponder/mdnsresponder.mk
package/memstat/memstat.mk
package/memtester/memtester.mk
package/metacity/metacity.mk
package/microcom/microcom.mk
package/microperl/microperl.mk
package/microwin/microwin.mk
package/mii-diag/mii-diag.mk
package/mkdosfs/mkdosfs.mk
package/module-init-tools/module-init-tools.mk
package/modutils/modutils.mk
package/mpatrol/mpatrol.mk
package/mpfr/mpfr.mk
package/mrouted/mrouted.mk
package/mtd/20050122/mtd.mk
package/mtd/20061007/mtd.mk
package/mtd/mtd-utils.git/mtd.mk
package/mtd/mtd-utils/mtd.mk
package/multimedia/alsa-lib/alsa-lib.mk
package/multimedia/alsa-utils/alsa-utils.mk
package/multimedia/asterisk/asterisk.mk
package/multimedia/aumix/aumix.mk
package/multimedia/festival/lexicons/festlex.mk
package/multimedia/festival/voices/festvox.mk
package/multimedia/libid3tag/libid3tag.mk
package/multimedia/libmad/libmad.mk
package/multimedia/libsndfile/libsndfile.mk
package/multimedia/libvorbis/libvorbis.mk
package/multimedia/madplay/madplay.mk
package/multimedia/mpg123/mpg123.mk
package/multimedia/mplayer/mplayer.mk
package/mutt/mutt.mk
package/nbd/nbd.mk
package/ncftp/ncftp.mk
package/ncurses/ncurses.mk
package/netkitbase/netkitbase.mk
package/netkittelnet/netkittelnet.mk
package/netplug/netplug.mk
package/netsnmp/netsnmp.mk
package/newt/newt.mk
package/nfs-utils/nfs-utils.mk
package/ntfs-3g/ntfs-3g.mk
package/ntp/ntp.mk
package/olsr/olsr.mk
package/openmotif/openmotif.mk
package/openntpd/openntpd.mk
package/openswan/openswan.mk
package/openvpn/openvpn.mk
package/patch/patch.mk
package/pciutils/pciutils.mk
package/pcmcia/pcmcia.mk
package/php/php.mk
package/pkgconfig/pkgconfig.mk
package/portage/portage.mk
package/portmap/portmap.mk
package/pppd/pppd.mk
package/pptp-linux/pptp-linux.mk
package/procps/procps.mk
package/proftpd/proftpd.mk
package/python/python.mk
package/qte/qte.mk
package/qtopia4/qtopia4.mk
package/quagga/quagga.mk
package/raidtools2/raidtools2.mk
package/rdesktop/rdesktop.mk
package/readline/readline.mk
package/rp-pppoe/rp-pppoe.mk
package/ruby/ruby.mk
package/rxvt/rxvt.mk
package/samba/samba.mk
package/sdl/sdl.mk
package/sdl_mixer/sdl_mixer.mk
package/sdl_ttf/sdl_ttf.mk
package/sed/sed.mk
package/setserial/setserial.mk
package/sfdisk/sfdisk.mk
package/slang/slang.mk
package/smartmontools/smartmontools.mk
package/socat/socat.mk
package/stunnel/stunnel.mk
package/sudo/sudo.mk
package/sysklogd/sysklogd.mk
package/sysvinit/sysvinit.mk
package/tar/tar.mk
package/tcl/tcl.mk
package/tcpdump/dhcpdump.mk
package/tcpdump/tcpdump.mk
package/tftpd/tftpd.mk
package/thttpd/thttpd.mk
package/tinyhttpd/tinyhttpd.mk
package/tinylogin/tinylogin.mk
package/tn5250/tn5250.mk
package/tslib/tslib.mk
package/ttcp/ttcp.mk
package/udev/udev.mk
package/udhcp/udhcp.mk
package/udpcast/udpcast.mk
package/usbmount/usbmount.mk
package/usbutils/usbutils.mk
package/util-linux/util-linux.mk
package/valgrind/valgrind.mk
package/vpnc/vpnc.mk
package/vsftpd/vsftpd.mk
package/vtun/vtun.mk
package/wget/wget.mk
package/wipe/wipe.mk
package/wireless-tools/wireless-tools.mk
package/x11r7/mesa3d/mesa3d.mk
package/x11r7/xapp_xman/xapp_xman.mk
package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk
package/x11r7/xfont_font-util/xfont_font-util.mk
package/xerces/xerces.mk
package/xfsprogs/xfsprogs.mk
package/zlib/zlib.mk

index bc8cb8282add9adf5050896daeef22a7f11e9a52..cbd6257951587119599feb79d9f7a3b0733d4f58 100644 (file)
@@ -9,7 +9,7 @@ ACPID_SOURCE=acpid_$(ACPID_VERSION).orig.tar.gz
 ACPID_SITE=$(BR2_DEBIAN_MIRROR)/debian/pool/main/a/acpid
 
 $(DL_DIR)/$(ACPID_SOURCE):
-       $(WGET) -P $(DL_DIR) $(ACPID_SITE)/$(ACPID_SOURCE)
+       $(call DOWNLOAD,$(ACPID_SITE),$(ACPID_SOURCE))
 
 $(ACPID_DIR)/.unpacked: $(DL_DIR)/$(ACPID_SOURCE)
        $(ZCAT) $(DL_DIR)/$(ACPID_SOURCE) | tar -C $(BUILD_DIR) -xvf -
index c57c543fcd8565d9269e95074936312a18bdd5a7..e1c85415fd3bb3c432d040a72f2549e7543f33e7 100644 (file)
@@ -13,10 +13,10 @@ ARGUS_BINARY:=bin/argus
 ARGUS_TARGET_BINARY:=usr/sbin/argus
 
 $(DL_DIR)/$(ARGUS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(ARGUS_SITE)/$(ARGUS_SOURCE)
+       $(call DOWNLOAD,$(ARGUS_SITE),$(ARGUS_SOURCE))
 
 $(DL_DIR)/$(ARGUS_PATCH):
-       $(WGET) -P $(DL_DIR) $(ARGUS_SITE)/$(ARGUS_PATCH)
+       $(call DOWNLOAD,$(ARGUS_SITE),$(ARGUS_PATCH))
 
 argus-source: $(DL_DIR)/$(ARGUS_SOURCE) $(DL_DIR)/$(ARGUS_PATCH)
 
index 441bb25f6ecbdaf61197051d9bdf08a63f9cbe2f..73d58a21615fc59cc8b649dccb43c8d6f3b6503e 100644 (file)
@@ -12,7 +12,7 @@ AT_TARGET_SCRIPT:=etc/init.d/S99at
 AT_BINARY:=at
 
 $(DL_DIR)/$(AT_SOURCE):
-        $(WGET) -P $(DL_DIR) $(AT_SITE)/$(AT_SOURCE)
+        $(call DOWNLOAD,$(AT_SITE),$(AT_SOURCE))
 
 at-source: $(DL_DIR)/$(AT_SOURCE)
 
index ce7db66aa467e1193270bc3fb677adb8b473afdb..8ee685283106ebb184b86e890b1fbbd6c27a6cb4 100644 (file)
@@ -18,7 +18,7 @@ AUTOCONF:=$(STAGING_DIR)/usr/bin/autoconf
 AUTORECONF=$(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" autoreconf -v -f -i -I "$(ACLOCAL_DIR)"
 
 $(DL_DIR)/$(AUTOCONF_SOURCE):
-        $(WGET) -P $(DL_DIR) $(AUTOCONF_SITE)/$(AUTOCONF_SOURCE)
+        $(call DOWNLOAD,$(AUTOCONF_SITE),$(AUTOCONF_SOURCE))
 
 autoconf-source: $(DL_DIR)/$(AUTOCONF_SOURCE)
 
index 7924e8f5e80526219fc5b0568b86e204b04adfa1..86f9ee15b1db8d9c7baaa12fedf1dec4a7b3f2c4 100644 (file)
@@ -19,7 +19,7 @@ ACLOCAL_DIR = $(STAGING_DIR)/usr/share/aclocal
 ACLOCAL = aclocal -I $(ACLOCAL_DIR)
 
 $(DL_DIR)/$(AUTOMAKE_SOURCE):
-        $(WGET) -P $(DL_DIR) $(AUTOMAKE_SITE)/$(AUTOMAKE_SOURCE)
+        $(call DOWNLOAD,$(AUTOMAKE_SITE),$(AUTOMAKE_SOURCE))
 
 automake-source: $(DL_DIR)/$(AUTOMAKE_SOURCE)
 
index 0b656932b443e9d5461bd6a5cb7d9e0ae8b08ed7..f44ef1f3d627b7c0f1623bf68bb0182049c1e8c8 100644 (file)
@@ -43,7 +43,7 @@ AVAHI_DISABLE_DBUS:=--disable-dbus
 endif
 
 $(DL_DIR)/$(AVAHI_SOURCE):
-        $(WGET) -P $(DL_DIR) $(AVAHI_SITE)/$(AVAHI_SOURCE)
+        $(call DOWNLOAD,$(AVAHI_SITE),$(AVAHI_SOURCE))
 
 avahi-source: $(DL_DIR)/$(AVAHI_SOURCE)
 
index fb153866ba017bb5ff28939eaec603cc1286df09..ecd512c04ed6d468cc7294328570a1e0e5c1bd18 100644 (file)
@@ -12,7 +12,7 @@ AXEL_BINARY:=axel
 AXEL_TARGET_BINARY:=usr/bin/axel
 
 $(DL_DIR)/$(AXEL_SOURCE):
-        $(WGET) -P $(DL_DIR) $(AXEL_SITE)/$(AXEL_SOURCE)
+        $(call DOWNLOAD,$(AXEL_SITE),$(AXEL_SOURCE))
 
 axel-source: $(DL_DIR)/$(AXEL_SOURCE)
 
index b0a51bcbc87647ee7afce7425d3ee889a0a627a4..6eb2848a90a5256342ad00c7311097187c6e1e12 100644 (file)
@@ -12,7 +12,7 @@ BASH_BINARY:=bash
 BASH_TARGET_BINARY:=bin/bash
 
 $(DL_DIR)/$(BASH_SOURCE):
-        $(WGET) -P $(DL_DIR) $(BASH_SITE)/$(BASH_SOURCE)
+        $(call DOWNLOAD,$(BASH_SITE),$(BASH_SOURCE))
 
 bash-source: $(DL_DIR)/$(BASH_SOURCE)
 
index d42a822abf05263156ce3794b9f8d620638bb51c..a6e04397411125d919534385cdf5cb3c0bfe244c 100644 (file)
@@ -11,7 +11,7 @@ DB_DIR:=$(BUILD_DIR)/db-$(DB_VERSION).NC
 DB_SHARLIB:=libdb-$(DB_SO_VERSION).so
 
 $(DL_DIR)/$(DB_SOURCE):
-       $(WGET) -P $(DL_DIR) $(DB_SITE)/$(DB_SOURCE)
+       $(call DOWNLOAD,$(DB_SITE),$(DB_SOURCE))
 
 berkeleydb-source: $(DL_DIR)/$(DB_SOURCE)
 
index ff963013422f4903bfd83a137c408d6c36882426..15efc1bd641bcbeabb4483a9747a90385add4f48 100644 (file)
@@ -13,7 +13,7 @@ BIND_BINARY:=bin/named/named
 BIND_TARGET_BINARY:=usr/sbin/named
 
 $(DL_DIR)/$(BIND_SOURCE):
-        $(WGET) -P $(DL_DIR) $(BIND_SITE)/$(BIND_SOURCE)
+        $(call DOWNLOAD,$(BIND_SITE),$(BIND_SOURCE))
 
 bind-source: $(DL_DIR)/$(BIND_SOURCE)
 
index f46af1b7c9a61ce8d71f0f63a18d3fd30854c6ea..1bac120844414f7e97e7d29058561c7203325584 100644 (file)
@@ -12,7 +12,7 @@ BISON_BINARY:=src/bison
 BISON_TARGET_BINARY:=usr/bin/bison
 
 $(DL_DIR)/$(BISON_SOURCE):
-        $(WGET) -P $(DL_DIR) $(BISON_SITE)/$(BISON_SOURCE)
+        $(call DOWNLOAD,$(BISON_SITE),$(BISON_SOURCE))
 
 bison-source: $(DL_DIR)/$(BISON_SOURCE)
 
index 3c09e9ba11ac43489a0a4ea75d214af801a08a10..d0531b1f82830237e0e151cd6a883e582a573b02 100644 (file)
@@ -16,7 +16,7 @@ BOA_DIR=$(BUILD_DIR)/${shell basename $(BOA_SOURCE) .tar.gz}
 BOA_WORKDIR=$(BUILD_DIR)/boa_workdir
 
 $(DL_DIR)/$(BOA_SOURCE):
-       $(WGET) -P $(DL_DIR) $(BOA_SITE)/$(BOA_SOURCE)
+       $(call DOWNLOAD,$(BOA_SITE),$(BOA_SOURCE))
 
 $(BOA_DIR)/.unpacked: $(DL_DIR)/$(BOA_SOURCE)
        $(BOA_CAT) $(DL_DIR)/$(BOA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 1881a9a4aab3e91a75a7fecc5e3f51d6293c9343..ad72f70e148c3b4302c2e1133157ce7c690b5927 100644 (file)
@@ -12,7 +12,7 @@ BSDIFF_TARGET_BINARY:=usr/bin/bsdiff
 BSDIFF_ZCAT=$(ZCAT)
 
 $(DL_DIR)/$(BSDIFF_SOURCE):
-       $(WGET) -P $(DL_DIR) $(BSDIFF_SITE)/$(BSDIFF_SOURCE)
+       $(call DOWNLOAD,$(BSDIFF_SITE),$(BSDIFF_SOURCE))
 
 $(BSDIFF_DIR)/.source: $(DL_DIR)/$(BSDIFF_SOURCE)
        $(BSDIFF_ZCAT) $(DL_DIR)/$(BSDIFF_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index dd120a881e616fc72fd3ca6ae7cd8c655f1c651b..85aed550beb9ebe5612312006e7880528e2603ab 100644 (file)
@@ -26,7 +26,7 @@ BUSYBOX_CONFIG_FILE=$(subst ",, $(strip $(BR2_PACKAGE_BUSYBOX_CONFIG)))
 endif
 
 $(DL_DIR)/$(BUSYBOX_SOURCE):
-        $(WGET) -P $(DL_DIR) $(BUSYBOX_SITE)/$(BUSYBOX_SOURCE)
+       $(call DOWNLOAD,$(BUSYBOX_SITE),$(BUSYBOX_SOURCE))
 
 $(BUSYBOX_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE)
        $(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(PROJECT_BUILD_DIR) $(TAR_OPTIONS) -
index a4599c33d2e5aca39fb625e1680e9184e805d30b..d3f00fd85eb208c964d07954b0c1592a6549c3e9 100644 (file)
@@ -12,7 +12,7 @@ BZIP2_BINARY:=$(BZIP2_DIR)/bzip2
 BZIP2_TARGET_BINARY:=$(TARGET_DIR)/usr/bin/bzmore
 
 $(DL_DIR)/$(BZIP2_SOURCE):
-        $(WGET) -P $(DL_DIR) $(BZIP2_SITE)/$(BZIP2_SOURCE)
+        $(call DOWNLOAD,$(BZIP2_SITE),$(BZIP2_SOURCE))
 
 bzip2-source: $(DL_DIR)/$(BZIP2_SOURCE)
 
index 04e4ff6f2b6b7dfb0221c78ec6e12735ee3483c4..31de2d5b870a3c86383d2d228703b1fe26a03cf5 100644 (file)
@@ -15,7 +15,7 @@ BIN_PROGS:=cat chgrp chmod chown cp date dd df dir echo false hostname \
        ln ls mkdir mknod mv pwd rm rmdir vdir sleep stty sync touch true uname
 
 $(DL_DIR)/$(COREUTILS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(COREUTILS_SITE)/$(COREUTILS_SOURCE)
+        $(call DOWNLOAD,$(COREUTILS_SITE),$(COREUTILS_SOURCE))
 
 coreutils-source: $(DL_DIR)/$(COREUTILS_SOURCE)
 
index bd1e7a699a09455d1d3ca82e520382ff07d4c13b..ce48c6509fd44936800005d6375e130138b42a5d 100644 (file)
@@ -23,7 +23,7 @@ ifneq ($(BR2_PACKAGE_XSERVER_none),y)
 endif
 
 $(DL_DIR)/$(CUPS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(CUPS_SITE)/$(CUPS_SOURCE)
+        $(call DOWNLOAD,$(CUPS_SITE),$(CUPS_SOURCE))
 
 $(CUPS_DIR)/.unpacked: $(DL_DIR)/$(CUPS_SOURCE)
        $(CUPS_CAT) $(DL_DIR)/$(CUPS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 310a3253efe2393dd303e45553ac44c4c153f8d9..601aa96f64f2ebbea618587153b009c9b85ac7fd 100644 (file)
@@ -23,12 +23,12 @@ CVS_CONFIGURE_ARGS+=--with-external-zlib
 endif
 
 $(DL_DIR)/$(CVS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(CVS_SITE)/$(CVS_SOURCE)
+       $(call DOWNLOAD,$(CVS_SITE),$(CVS_SOURCE))
 
 ifneq ($(CVS_PATCH),)
 CVS_PATCH_FILE=$(DL_DIR)/$(CVS_PATCH)
 $(CVS_PATCH_FILE):
-       $(WGET) -P $(DL_DIR) $(CVS_SITE)/$(CVS_PATCH)
+       $(call DOWNLOAD,$(CVS_SITE),$(CVS_PATCH))
 endif
 cvs-source: $(DL_DIR)/$(CVS_SOURCE) $(CVS_PATCH_FILE)
 
index a66be0c709fa441819a2708c6849312ea0f5b233..932fe949048784dde33bb9b9dd385c694b9a57e2 100644 (file)
@@ -13,10 +13,10 @@ DASH_BINARY:=src/dash
 DASH_TARGET_BINARY:=bin/dash
 
 $(DL_DIR)/$(DASH_SOURCE):
-       $(WGET) -P $(DL_DIR) $(DASH_SITE)/$(DASH_SOURCE)
+       $(call DOWNLOAD,$(DASH_SITE),$(DASH_SOURCE))
 
 $(DL_DIR)/$(DASH_PATCH1):
-       $(WGET) -P $(DL_DIR) $(DASH_SITE)/$(DASH_PATCH1)
+       $(call DOWNLOAD,$(DASH_SITE),$(DASH_PATCH1))
 
 dash-source: $(DL_DIR)/$(DASH_SOURCE) $(DL_DIR)/$(DASH_PATCH1)
 
index 039d16039fdccaaea181a0a0f9ab9c926e27acdb..b24e0e0fea0d113551a47d61b16a1abdf215e778 100644 (file)
@@ -11,7 +11,7 @@ SQLITE_DIR:=$(BUILD_DIR)/sqlite-$(SQLITE_VERSION)
 SQLITE_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(SQLITE_SOURCE):
-       $(WGET) -P $(DL_DIR) $(SQLITE_SITE)/$(SQLITE_SOURCE)
+       $(call DOWNLOAD,$(SQLITE_SITE),$(SQLITE_SOURCE))
 
 $(SQLITE_DIR)/.unpacked: $(DL_DIR)/$(SQLITE_SOURCE)
        $(SQLITE_CAT) $(DL_DIR)/$(SQLITE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 8dcdad26d2f2b2f94943fe02c35eb9f8b19d7715..5b80906b61cae5ae49c5be155b86c987b48b72ab 100644 (file)
@@ -12,7 +12,7 @@ DBUS_GLIB_BINARY:=dbus/.libs/dbus-binding-tool
 DBUS_GLIB_TARGET_BINARY:=usr/bin/dbus-binding-tool
 
 $(DL_DIR)/$(DBUS_GLIB_SOURCE):
-       $(WGET) -P $(DL_DIR) $(DBUS_GLIB_SITE)/$(DBUS_GLIB_SOURCE)
+       $(call DOWNLOAD,$(DBUS_GLIB_SITE),$(DBUS_GLIB_SOURCE))
 
 dbus-glib-source: $(DL_DIR)/$(DBUS_GLIB_SOURCE)
 
index 3c772d2c0df5115d87cdbc04111a5ad534aa1948..9cc8edb6f4b3b1fa135a1ac138c8b45c714c9ac2 100644 (file)
@@ -24,7 +24,7 @@ DBUS_XML_DEP:=libxml2-install-staging
 endif
 
 $(DL_DIR)/$(DBUS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(DBUS_SITE)/$(DBUS_SOURCE)
+       $(call DOWNLOAD,$(DBUS_SITE),$(DBUS_SOURCE))
 
 dbus-source: $(DL_DIR)/$(DBUS_SOURCE)
 
index 1ccd4808edefc73179f1bd4acf0373eaeb049b05..04fc77cb9eb2cf357f28c141adacfd4846a19ff2 100644 (file)
@@ -10,7 +10,7 @@ DEVMEM2_BINARY:=devmem2
 DEVMEM2_DIR:=$(BUILD_DIR)/devmem2
 
 $(DL_DIR)/$(DEVMEM2_SOURCE):
-       $(WGET) -P $(DL_DIR) $(DEVMEM2_SITE)/$(DEVMEM2_SOURCE)
+       $(call DOWNLOAD,$(DEVMEM2_SITE),$(DEVMEM2_SOURCE))
 
 $(DEVMEM2_DIR)/$(DEVMEM2_SOURCE): $(DL_DIR)/$(DEVMEM2_SOURCE)
        mkdir -p $(@D)
index 903e7cb02fe792fab059a290dd92b0129735635a..a18b7b4549c6094fe2114a1c2a2cfffda74062dc 100644 (file)
@@ -19,7 +19,7 @@ BVARS=PREDEFINES='-D_PATH_DHCPD_DB=\"/var/lib/dhcp/dhcpd.leases\" \
        VARDB=/var/lib/dhcp
 
 $(DL_DIR)/$(DHCP_SOURCE):
-        $(WGET) -P $(DL_DIR) $(DHCP_SITE)/$(DHCP_SOURCE)
+        $(call DOWNLOAD,$(DHCP_SITE),$(DHCP_SOURCE))
 
 dhcp-source: $(DL_DIR)/$(DHCP_SOURCE)
 
index 3c9f99d80d1a119d40a5e580b5c9fc3c4a8a5cac..005a1bb547d2148e29b65a4dc3f7fc4be27d64e6 100644 (file)
@@ -11,7 +11,7 @@ DIALOG_BINARY:=dialog
 DIALOG_TARGET_BINARY:=usr/bin/dialog
 
 $(DL_DIR)/$(DIALOG_SOURCE):
-       $(WGET) -P $(DL_DIR) $(DIALOG_SITE)/$(DIALOG_SOURCE)
+       $(call DOWNLOAD,$(DIALOG_SITE),$(DIALOG_SOURCE))
 
 $(DIALOG_DIR)/.source: $(DL_DIR)/$(DIALOG_SOURCE)
        $(ZCAT) $(DL_DIR)/$(DIALOG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 93075a07868e08b426130388f00951915aae8b30..1911f912f446a1da47656f0efeffaa717fef138f 100644 (file)
@@ -12,7 +12,7 @@ DIFFUTILS_BINARY:=src/diff
 DIFFUTILS_TARGET_BINARY:=usr/bin/diff
 
 $(DL_DIR)/$(DIFFUTILS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(DIFFUTILS_SITE)/$(DIFFUTILS_SOURCE)
+        $(call DOWNLOAD,$(DIFFUTILS_SITE),$(DIFFUTILS_SOURCE))
 
 diffutils-source: $(DL_DIR)/$(DIFFUTILS_SOURCE)
 
index 190c6428b18ebd324b1b0d985a917b04f8613fff..12d9a5ce16d80c7f2ab297b52ce7e0c59afb3388 100644 (file)
@@ -11,7 +11,7 @@ DILLO_DIR=$(BUILD_DIR)/dillo-$(DILLO_VERSION)
 DILLO_CAT:=$(BZCAT)
 
 $(DL_DIR)/$(DILLO_SOURCE):
-       $(WGET) -P $(DL_DIR) $(DILLO_SITE)/$(DILLO_SOURCE)
+       $(call DOWNLOAD,$(DILLO_SITE),$(DILLO_SOURCE))
 
 $(DILLO_DIR)/.unpacked: $(DL_DIR)/$(DILLO_SOURCE)
        $(DILLO_CAT) $(DL_DIR)/$(DILLO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index f14eba97c96ca95d23f13736969993c539a93943..03c74dec6de16826577321e5d082a7b4b08e2768 100644 (file)
@@ -106,7 +106,7 @@ DIRECTFB_JPEG:=--disable-jpeg
 endif
 
 $(DL_DIR)/$(DIRECTFB_SOURCE):
-       $(WGET) -P $(DL_DIR) $(DIRECTFB_SITE)/$(DIRECTFB_SOURCE)
+       $(call DOWNLOAD,$(DIRECTFB_SITE),$(DIRECTFB_SOURCE))
 
 directfb-source: $(DL_DIR)/$(DIRECTFB_SOURCE)
 
index 6b9b52d3da2285acdbc1c7fd2c70a7cd4380cc04..59e298f2add9e64c2475c6dd4206a8380b76fa23 100644 (file)
@@ -12,7 +12,7 @@ DISTCC_BINARY:=distcc
 DISTCC_TARGET_BINARY:=usr/bin/distcc
 
 $(DL_DIR)/$(DISTCC_SOURCE):
-       $(WGET) -P $(DL_DIR) $(DISTCC_SITE)/$(DISTCC_SOURCE)
+       $(call DOWNLOAD,$(DISTCC_SITE),$(DISTCC_SOURCE))
 
 distcc-source: $(DL_DIR)/$(CVS_SOURCE)
 
index a6a7e559b8da8ccf22b1b460c195da1702368850..c30bee322d243109635047acfa7346516992271f 100644 (file)
@@ -38,8 +38,8 @@ DM_TARGET_LIBRARY:=$(TARGET_DIR)/usr/lib/libdevmapper.so
 DM_TARGET_HEADER:=$(TARGET_DIR)/usr/include/libdevmapper.h
 
 $(DL_DIR)/$(DM_SOURCE):
-       $(WGET) -P $(DL_DIR) $(DM_SITE)/$(DM_SOURCE) || \
-               $(WGET) -P $(DL_DIR) $(DM_SITE_OLD)/$(DM_SOURCE)
+       $(call DOWNLOAD,$(DM_SITE),$(DM_SOURCE) || \)
+               $(call DOWNLOAD,$(DM_SITE_OLD),$(DM_SOURCE))
 
 dm-source: $(DL_DIR)/$(DM_SOURCE)
 
index 4589cdda84f491e806acd0f69a3804e73383253f..164d9da263e62b503f484767e7c22bd2a3b73aea 100644 (file)
@@ -12,7 +12,7 @@ DMALLOC_BINARY:=dmalloc
 DMALLOC_TARGET_BINARY:=usr/bin/dmalloc
 
 $(DL_DIR)/$(DMALLOC_SOURCE):
-        $(WGET) -P $(DL_DIR) $(DMALLOC_SITE)/$(DMALLOC_SOURCE)
+        $(call DOWNLOAD,$(DMALLOC_SITE),$(DMALLOC_SOURCE))
 
 dmalloc-source: $(DL_DIR)/$(DMALLOC_SOURCE)
 
index 53a8561cf66e4afd7d634937b57826f1e07efc60..7db7d84485e4f34e67d23124b9647d52ad85fd93 100644 (file)
@@ -14,7 +14,7 @@ DMRAID_STAGING_BINARY:=$(DMRAID_DIR)/STAGING_DIR)/tools/$(DMRAID_BINARY)
 DMRAID_TARGET_BINARY:=$(TARGET_DIR)/sbin/$(DMRAID_BINARY)
 
 $(DL_DIR)/$(DMRAID_SOURCE):
-        $(WGET) -P $(DL_DIR) $(DMRAID_SITE)/$(DMRAID_SOURCE)
+        $(call DOWNLOAD,$(DMRAID_SITE),$(DMRAID_SOURCE))
 
 dmraid-source: $(DL_DIR)/$(DMRAID_SOURCE)
 
index 150d7a0457ad0b372a39fb98a939d5f21df7ae1f..1060c08bdd14ad38a55f33b687456ec69e1d7c76 100644 (file)
@@ -32,7 +32,7 @@ DNSMASQ_DBUS:=
 endif
 
 $(DL_DIR)/$(DNSMASQ_SOURCE):
-       $(WGET) -P $(DL_DIR) $(DNSMASQ_SITE)/$(DNSMASQ_SOURCE)
+       $(call DOWNLOAD,$(DNSMASQ_SITE),$(DNSMASQ_SOURCE))
 
 $(DNSMASQ_DIR)/.source: $(DL_DIR)/$(DNSMASQ_SOURCE)
        $(ZCAT) $(DL_DIR)/$(DNSMASQ_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 672a7f3da644c7749d4682c983b8165ebf9856e9..5fa775ac5338c3c9c677c880d56e8dab1f114655 100644 (file)
@@ -12,7 +12,7 @@ DROPBEAR_BINARY:=dropbearmulti
 DROPBEAR_TARGET_BINARY:=usr/sbin/dropbear
 
 $(DL_DIR)/$(DROPBEAR_SOURCE):
-        $(WGET) -P $(DL_DIR) $(DROPBEAR_SITE)/$(DROPBEAR_SOURCE)
+        $(call DOWNLOAD,$(DROPBEAR_SITE),$(DROPBEAR_SOURCE))
 
 dropbear-source: $(DL_DIR)/$(DROPBEAR_SOURCE)
 
index f8c5350883134980d7af655b1dbaf718c6879fc2..3eb5f0bb48f366c7057c56fe6d6cc0dd709d14b0 100644 (file)
@@ -21,7 +21,7 @@ DUMMY_TARGET_BINARY:=usr/bin/$(DUMMY_BINARY)
 
 # The download rule. Main purpose is to download the source package.
 $(DL_DIR)/$(DUMMY_SOURCE):
-       $(WGET) -P $(DL_DIR) $(DUMMY_SITE)/$(DUMMY_SOURCE)
+       $(call DOWNLOAD,$(DUMMY_SITE),$(DUMMY_SOURCE))
 
 # The unpacking rule. Main purpose is to extract the source package, apply any
 # patches and update config.guess and config.sub.
index 091a94729118aec3676416a539804126cf4c1b24..25d4d1a9d23fb096dc457ab8bda03658119dcf6a 100644 (file)
@@ -16,7 +16,7 @@ E2FSPROGS_MISC_STRIP:= \
        lsattr mke2fs mklost+found tune2fs uuidgen
 
 $(DL_DIR)/$(E2FSPROGS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(E2FSPROGS_SITE)/$(E2FSPROGS_SOURCE)
+        $(call DOWNLOAD,$(E2FSPROGS_SITE),$(E2FSPROGS_SOURCE))
 
 e2fsprogs-source: $(DL_DIR)/$(E2FSPROGS_SOURCE)
 
index fc417360d19a549dc4954ab16064f5406c7a59db..15cc5991cb6e6106951bde86aec1d9208ad8a134 100644 (file)
@@ -12,7 +12,7 @@ NANO_BINARY:=src/nano
 NANO_TARGET_BINARY:=usr/bin/nano
 
 $(DL_DIR)/$(NANO_SOURCE):
-       $(WGET) -P $(DL_DIR) $(NANO_SITE)/$(NANO_SOURCE)
+       $(call DOWNLOAD,$(NANO_SITE),$(NANO_SOURCE))
 
 nano-source: $(DL_DIR)/$(NANO_SOURCE)
 
index 2e845d49235d4ea9f7c8e9a865575902f478b2f4..51a37bc923c4b9c27f2ad17ec6c85d9a61db14d6 100644 (file)
@@ -12,7 +12,7 @@ UEMACS_BINARY:=em
 UEMACS_TARGET_BINARY:=usr/bin/emacs
 
 $(DL_DIR)/$(UEMACS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(UEMACS_SITE)/$(UEMACS_SOURCE)
+        $(call DOWNLOAD,$(UEMACS_SITE),$(UEMACS_SOURCE))
 
 uemacs-source: $(DL_DIR)/$(UEMACS_SOURCE)
 
index fe82ac32513229d99d25e74e77b62742dbfaa3a7..9bf3d4816fdcca6fb409073d0688aee74851ccc8 100644 (file)
@@ -14,10 +14,10 @@ VIM_CONFIG_H:=$(VIM_DIR)/src/auto/config.h
 VIM_CONFIG_MK:=$(VIM_DIR)/src/auto/config.mk
 
 $(DL_DIR)/$(VIM_SOURCE):
-       $(WGET) -P $(DL_DIR) $(VIM_SOURCE_SITE)/$(VIM_SOURCE)
+       $(call DOWNLOAD,$(VIM_SOURCE_SITE),$(VIM_SOURCE))
 
 $(DL_DIR)/vim/%:
-       $(WGET) -P $(DL_DIR)/vim/ $(VIM_PATCH_SITE)/$*
+       $(call DOWNLOAD,$(VIM_PATCH_SITE),$*)
 
 vim-source: $(DL_DIR)/$(VIM_SOURCE) $(VIM_PATCHES)
 
index 5773c425dbdc6b5afb8d4bfd813b4b31179ac055..98b9173dae6a1be836299c6643a6d29742764ee9 100644 (file)
@@ -11,7 +11,7 @@ EEPROG_BINARY:=eeprog
 EEPROG_TARGET_BINARY:=usr/sbin/eeprog
 
 $(DL_DIR)/$(EEPROG_SOURCE):
-        $(WGET) -P $(DL_DIR) $(EEPROG_SITE)/$(EEPROG_SOURCE)
+        $(call DOWNLOAD,$(EEPROG_SITE),$(EEPROG_SOURCE))
 
 eeprog-source: $(DL_DIR)/$(EEPROG_SOURCE)
 
index fc7e0599d15984d1a405d3c7ff36f2b5766f736e..e98b578dd90db0a0cc411f2217fe70f7c0732b11 100644 (file)
@@ -14,7 +14,7 @@ EXPAT_BINARY:=.libs/libexpat.a
 EXPAT_TARGET_BINARY:=usr/lib/libexpat.so.1
 
 $(DL_DIR)/$(EXPAT_SOURCE):
-       $(WGET) -P $(DL_DIR) $(EXPAT_SITE)/$(EXPAT_SOURCE)
+       $(call DOWNLOAD,$(EXPAT_SITE),$(EXPAT_SOURCE))
 
 expat-source: $(DL_DIR)/$(EXPAT_SOURCE)
 
index c9e855e129e6ef45119d3f3c5a98d0cca6945471..7f9c0e69823f7db434f1e94c7320a66e7a1918b8 100644 (file)
@@ -10,7 +10,7 @@ EZXML_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/ezxm
 EZXML_DIR:=$(BUILD_DIR)/ezxml
 
 $(DL_DIR)/$(EZXML_SOURCE):
-       $(WGET) -P $(DL_DIR) $(EZXML_SITE)/$(EZXML_SOURCE)
+       $(call DOWNLOAD,$(EZXML_SITE),$(EZXML_SOURCE))
 
 $(EZXML_DIR)/.unpacked: $(DL_DIR)/$(EZXML_SOURCE)
        $(ZCAT) $(DL_DIR)/$(EZXML_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 020ad88281643d6d78a0ec9695bc07bbad3dffb3..7b1d739c6064d3fc7f818edbe99d995ef93ae4c9 100644 (file)
@@ -12,7 +12,7 @@ FAKEROOT_DIR1:=$(TOOL_BUILD_DIR)/fakeroot-$(FAKEROOT_VERSION)-host
 FAKEROOT_DIR2:=$(BUILD_DIR)/fakeroot-$(FAKEROOT_VERSION)-target
 
 $(DL_DIR)/$(FAKEROOT_SOURCE):
-        $(WGET) -P $(DL_DIR) $(FAKEROOT_SITE)/$(FAKEROOT_SOURCE)
+        $(call DOWNLOAD,$(FAKEROOT_SITE),$(FAKEROOT_SOURCE))
 
 fakeroot-source: $(DL_DIR)/$(FAKEROOT_SOURCE)
 
index 5c51bcd76ddc9f1a1bdc7185c345840dd0ec78a7..008e5644ffae98697f7be62c3c8ab56a4e2ebb82 100644 (file)
@@ -12,7 +12,7 @@ FBSET_BINARY:=fbset
 FBSET_TARGET_BINARY:=usr/sbin/$(FBSET_BINARY)
 
 $(DL_DIR)/$(FBSET_SOURCE):
-       $(WGET) -P $(DL_DIR) $(FBSET_SITE)/$(FBSET_SOURCE)
+       $(call DOWNLOAD,$(FBSET_SITE),$(FBSET_SOURCE))
 
 $(FBSET_DIR)/.unpacked: $(DL_DIR)/$(FBSET_SOURCE)
        $(FBSET_CAT) $(DL_DIR)/$(FBSET_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index f76194a79c70f52a969bb889634647e2dffee415..8b4d296f8ce30052d48cfb284748259386080d3e 100644 (file)
@@ -12,7 +12,7 @@ FBV_BINARY:=fbv
 FBV_TARGET_BINARY:=usr/bin/$(FBV_BINARY)
 
 $(DL_DIR)/$(FBV_SOURCE):
-       $(WGET) -P $(DL_DIR) $(FBV_SITE)/$(FBV_SOURCE)
+       $(call DOWNLOAD,$(FBV_SITE),$(FBV_SOURCE))
 
 fbv-source: $(DL_DIR)/$(FBV_SOURCE)
 
index ffab1395c5a7af5c001d6a419b089295af291ded..e4eb1503640231e199dc39e26d33d2dfd99edadb 100644 (file)
@@ -12,7 +12,7 @@ FCONFIG_BINARY:=fconfig
 FCONFIG_TARGET_BINARY:=sbin/fconfig
 
 $(DL_DIR)/$(FCONFIG_SOURCE):
-        $(WGET) -P $(DL_DIR) $(FCONFIG_SITE)/$(FCONFIG_SOURCE)
+        $(call DOWNLOAD,$(FCONFIG_SITE),$(FCONFIG_SOURCE))
 
 fconfig-source: $(DL_DIR)/$(FCONFIG_SOURCE)
 
index 0ff1d15909c02da89da657514e97d561d1688c49..e285f5261eda0bbfa0430ae13966df8fa1c27323 100644 (file)
@@ -14,7 +14,7 @@ FILE_BINARY:=src/file
 FILE_TARGET_BINARY:=usr/bin/file
 
 $(DL_DIR)/$(FILE_SOURCE):
-        $(WGET) -P $(DL_DIR) $(FILE_SITE)/$(FILE_SOURCE)
+        $(call DOWNLOAD,$(FILE_SITE),$(FILE_SOURCE))
 
 file-source: $(DL_DIR)/$(FILE_SOURCE)
 
index 046e492d9a4cf112734f751df828248a88d7d326..3dd16ca19531a59d7e732ce5a2b6c89bd025b6de 100644 (file)
@@ -13,7 +13,7 @@ FINDUTILS_BINARY:=find/find
 FINDUTILS_TARGET_BINARY:=usr/bin/find
 
 $(DL_DIR)/$(FINDUTILS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(FINDUTILS_SITE)/$(FINDUTILS_SOURCE)
+        $(call DOWNLOAD,$(FINDUTILS_SITE),$(FINDUTILS_SOURCE))
 
 findutils-source: $(DL_DIR)/$(FINDUTILS_SOURCE)
 
index 62ea3842f93f134c5ec35fb735363cef968cfb26..4a7e7164d0e96e9f52abafb0f14b47088ed018a5 100644 (file)
@@ -11,7 +11,7 @@ FIS_BINARY:=fis
 FIS_TARGET_BINARY:=sbin/fis
 
 $(DL_DIR)/$(FIS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(FIS_SITE)/$(FIS_SOURCE)
+        $(call DOWNLOAD,$(FIS_SITE),$(FIS_SOURCE))
 
 fis-source: $(DL_DIR)/$(FIS_SOURCE)
 
index 0063e85e2888d14f581e6d020d38880ff6434d77..08c17d096c0c08f8c4d420e598b6c60b7e4304dd 100644 (file)
@@ -14,10 +14,10 @@ FLEX_BINARY:=flex
 FLEX_TARGET_BINARY:=usr/bin/flex
 
 $(DL_DIR)/$(FLEX_SOURCE):
-        $(WGET) -P $(DL_DIR) $(FLEX_SITE)/$(FLEX_SOURCE)
+        $(call DOWNLOAD,$(FLEX_SITE),$(FLEX_SOURCE))
 
 $(DL_DIR)/$(FLEX_PATCH):
-        $(WGET) -P $(DL_DIR) $(FLEX_SITE)/$(FLEX_PATCH)
+        $(call DOWNLOAD,$(FLEX_SITE),$(FLEX_PATCH))
 
 flex-source: $(DL_DIR)/$(FLEX_SOURCE) $(DL_DIR)/$(FLEX_PATCH)
 
index 77c378197d89ae4391d6a3908040193944dadf89..5dcb20a4a9aac36bceb749a5456a0fe4532c6647 100644 (file)
@@ -9,7 +9,7 @@ LIBFUSE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/fu
 LIBFUSE_DIR:=$(BUILD_DIR)/fuse-$(LIBFUSE_VERSION)
 LIBFUSE_BINARY:=libfuse
 $(DL_DIR)/$(LIBFUSE_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBFUSE_SITE)/$(LIBFUSE_SOURCE)
+       $(call DOWNLOAD,$(LIBFUSE_SITE),$(LIBFUSE_SOURCE))
 
 $(LIBFUSE_DIR)/.source: $(DL_DIR)/$(LIBFUSE_SOURCE)
        $(ZCAT) $(DL_DIR)/$(LIBFUSE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 5bdd67ed286d65e3868ad01543d886095131c5e5..201f6fe6a1b1f0903b4f575d5a15129807ffa3b7 100644 (file)
@@ -14,7 +14,7 @@ GADGETFS_TEST_MAKEOPTS+=USE_AIO=y
 endif
 
 $(DL_DIR)/$(GADGETFS_TEST_SOURCE):
-       $(WGET) -P $(DL_DIR) $(GADGETFS_TEST_SITE)/$(GADGETFS_TEST_SOURCE)
+       $(call DOWNLOAD,$(GADGETFS_TEST_SITE),$(GADGETFS_TEST_SOURCE))
 
 $(GADGETFS_TEST_DIR)/.unpacked: $(DL_DIR)/$(GADGETFS_TEST_SOURCE)
        $(BZCAT) $(DL_DIR)/$(GADGETFS_TEST_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 29c89ffcc993d3728ddc2ee7420e3a794aa7c154..bae2420919fbc40d24ea0721de307778c1e80f63 100644 (file)
@@ -10,7 +10,7 @@ DOOM_WAD_SITE = ftp://ftp.idsoftware.com/idstuff/doom/
 DOOM_WAD_DIR=$(BUILD_DIR)/doom-wad-$(DOOM_WAD_VERSION)
 
 $(DL_DIR)/$(DOOM_WAD_SOURCE):
-        $(WGET) -P $(DL_DIR) $(DOOM_WAD_SITE)/$(DOOM_WAD_SOURCE)
+        $(call DOWNLOAD,$(DOOM_WAD_SITE),$(DOOM_WAD_SOURCE))
 
 doom-wad-source: $(DL_DIR)/$(DOOM_WAD_SOURCE)
 
index 66effec71169d00a1162c4fafd2c801d0c23b735..1f8e67804d458bf772c6c2969173897fa8038529 100644 (file)
@@ -12,7 +12,7 @@ GAWK_BINARY:=gawk
 GAWK_TARGET_BINARY:=usr/bin/gawk
 
 $(DL_DIR)/$(GAWK_SOURCE):
-        $(WGET) -P $(DL_DIR) $(GAWK_SITE)/$(GAWK_SOURCE)
+        $(call DOWNLOAD,$(GAWK_SITE),$(GAWK_SOURCE))
 
 gawk-source: $(DL_DIR)/$(GAWK_SOURCE)
 
index dd7f75a3a1862f80e81e9894dda7fe118bee9828..2a0c33305c028ef3b8fe54d810d17d6970eaaad2 100644 (file)
@@ -18,7 +18,7 @@ LIBINTL_TARGET_BINARY:=usr/lib/libintl.so
 endif
 
 $(DL_DIR)/$(GETTEXT_SOURCE):
-        $(WGET) -P $(DL_DIR) $(GETTEXT_SITE)/$(GETTEXT_SOURCE)
+        $(call DOWNLOAD,$(GETTEXT_SITE),$(GETTEXT_SOURCE))
 
 gettext-source: $(DL_DIR)/$(GETTEXT_SOURCE)
 
index 9712cc3fb270232863a1df35a72370d9bca2e09a..111f6068cd88e43d72fcb438b23cb4b644d71c4e 100644 (file)
@@ -20,7 +20,7 @@ GMP_CPP_FLAGS:=CPPFLAGS=-DDLL_EXPORT
 endif
 
 $(DL_DIR)/$(GMP_SOURCE):
-        $(WGET) -P $(DL_DIR) $(GMP_SITE)/$(GMP_SOURCE)
+        $(call DOWNLOAD,$(GMP_SITE),$(GMP_SOURCE))
 
 libgmp-source: $(DL_DIR)/$(GMP_SOURCE)
 
index e54c63f539382d42dbf209ac4c7972083fde966d..30467a046782574e61194c71321ebab767620b49 100644 (file)
@@ -74,7 +74,7 @@ GTK2_ENGINES_BUILD_ENV= \
 
 
 $(DL_DIR)/$(GTK2_ENGINES_SOURCE):
-        $(WGET) -P $(DL_DIR) $(GTK2_ENGINES_SITE)/$(GTK2_ENGINES_SOURCE)
+        $(call DOWNLOAD,$(GTK2_ENGINES_SITE),$(GTK2_ENGINES_SOURCE))
 
 gtk2-engines-source: $(DL_DIR)/$(GTK2_ENGINES_SOURCE)
 
index f61e48b2e46cc97b69e7bbf2021ceb4cc8b8f697..beffe9d2e0c44deb3cc850e302b0cb4a1e9dd66a 100644 (file)
@@ -12,7 +12,7 @@ GZIP_BINARY:=$(GZIP_DIR)/gzip
 GZIP_TARGET_BINARY:=$(TARGET_DIR)/bin/zmore
 
 $(DL_DIR)/$(GZIP_SOURCE):
-        $(WGET) -P $(DL_DIR) $(GZIP_SITE)/$(GZIP_SOURCE)
+        $(call DOWNLOAD,$(GZIP_SITE),$(GZIP_SOURCE))
 
 gzip-source: $(DL_DIR)/$(GZIP_SOURCE)
 
index 6a02290084e947cb75e3f3fd4abb8f554bdd1288..3ea77587d80f47eb655fd6e1ebe9137227a88b0e 100644 (file)
@@ -20,7 +20,7 @@ GLIB_LIBS:=$(STAGING_DIR)/lib/libglib-2.0.so \
 DBUS_GLIB_LIBS:=$(STAGING_DIR)/usr/lib/libdbus-glib-1.so
 
 $(DL_DIR)/$(HAL_SOURCE):
-       $(WGET) -P $(DL_DIR) $(HAL_SITE)/$(HAL_SOURCE)
+       $(call DOWNLOAD,$(HAL_SITE),$(HAL_SOURCE))
 
 hal-source: $(DL_DIR)/$(HAL_SOURCE)
 
index be22d438beb70550250bd4707af6ee60019cf97b..59d964f12207383b1805c07f60fc533c7ac4abaf 100644 (file)
@@ -12,7 +12,7 @@ HDPARM_BINARY:=hdparm
 HDPARM_TARGET_BINARY:=sbin/hdparm
 
 $(DL_DIR)/$(HDPARM_SOURCE):
-        $(WGET) -P $(DL_DIR) $(HDPARM_SITE)/$(HDPARM_SOURCE)
+        $(call DOWNLOAD,$(HDPARM_SITE),$(HDPARM_SOURCE))
 
 hdparm-source: $(DL_DIR)/$(HDPARM_SOURCE)
 
index 35363919e57e5d604dd539b9ce020f275a3b6231..d0af5fd1dcea98a2c3ebfbe93fadd355219a55c0 100644 (file)
@@ -15,7 +15,7 @@ HOSTAP_SITE=http://hostap.epitest.fi/releases
 HOSTAP_DIR=$(BUILD_DIR)/hostapd-$(HOSTAP_VERSION)
 
 $(DL_DIR)/$(HOSTAP_SOURCE):
-       $(WGET) -P $(DL_DIR) $(HOSTAP_SITE)/$(HOSTAP_SOURCE)
+       $(call DOWNLOAD,$(HOSTAP_SITE),$(HOSTAP_SOURCE))
 
 hostap-source: $(DL_DIR)/$(HOSTAP_SOURCE)
 
index 8d2cfc743812ed57ea9636c6efbcec3e35a59f29..72c5d264075bbcdd2b61e2aafa3cd0f767919992 100644 (file)
@@ -13,10 +13,10 @@ HWDATA_BINARY:=pci.ids
 HWDATA_TARGET_BINARY:=usr/share/hwdata/pci.ids
 
 $(DL_DIR)/$(HWDATA_SOURCE):
-        $(WGET) -P $(DL_DIR) $(HWDATA_SITE)/$(HWDATA_SOURCE)
+        $(call DOWNLOAD,$(HWDATA_SITE),$(HWDATA_SOURCE))
 
 $(DL_DIR)/$(HWDATA_PATCH):
-        $(WGET) -P $(DL_DIR) $(HWDATA_SITE)/$(HWDATA_PATCH)
+        $(call DOWNLOAD,$(HWDATA_SITE),$(HWDATA_PATCH))
 
 hwdata-source: $(DL_DIR)/$(HWDATA_SOURCE) $(DL_DIR)/$(HWDATA_PATCH)
 
index 18958bb9cf29c14b5eba6e5c47e04d4ae6dc0675..bd96d9d80e9693ab28e90852ddaf24168704adf9 100644 (file)
@@ -11,7 +11,7 @@ I2C_TOOLS_BINARY:=tools/i2cdetect
 I2C_TOOLS_TARGET_BINARY:=usr/bin/i2cdetect
 
 $(DL_DIR)/$(I2C_TOOLS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(I2C_TOOLS_SITE)/$(I2C_TOOLS_SOURCE)
+       $(call DOWNLOAD,$(I2C_TOOLS_SITE),$(I2C_TOOLS_SOURCE))
 
 $(I2C_TOOLS_DIR)/.unpacked: $(DL_DIR)/$(I2C_TOOLS_SOURCE)
        $(BZCAT) $(DL_DIR)/$(I2C_TOOLS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index dedc775633dd938b20b58144b9fdd18e94e9bc10..525663aee86636f4bbc3dc545b48a21e8a4d072e 100644 (file)
@@ -12,7 +12,7 @@ ICU_DIR:=$(BUILD_DIR)/icu/source
 ICU_HOST_DIR:=$(BUILD_DIR)/icu-host/source
 
 $(DL_DIR)/$(ICU_SOURCE):
-        $(WGET) -P $(DL_DIR) $(ICU_SITE)/$(ICU_SOURCE)
+        $(call DOWNLOAD,$(ICU_SITE),$(ICU_SOURCE))
 
 icu-source: $(DL_DIR)/$(ICU_SOURCE)
 
index 5748c8f20ab5bebaf676d454c2699be0e1ec64b3..3c142a86120ef10d7751fe43f47c230352001f9f 100644 (file)
@@ -24,7 +24,7 @@ IMAGEMAGICK_TARGET_BINARIES+=$(TARGET_DIR)/usr/bin/convert
 
 IMAGEMAGICK_COPY:=cp -df --preserve=mode,ownership
 $(DL_DIR)/$(IMAGEMAGICK_SOURCE):
-       $(WGET) -P $(DL_DIR) $(IMAGEMAGICK_SITE)/$(IMAGEMAGICK_SOURCE)
+       $(call DOWNLOAD,$(IMAGEMAGICK_SITE),$(IMAGEMAGICK_SOURCE))
 
 $(IMAGEMAGICK_DIR)/.unpacked: $(DL_DIR)/$(IMAGEMAGICK_SOURCE)
        $(IMAGEMAGICK_CAT) $(DL_DIR)/$(IMAGEMAGICK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 8a64ef92ef43313a8c858f408372bcdbbb5efa4d..020e1c9ed503f32b81603be3cc08941da68c26a7 100644 (file)
@@ -23,10 +23,10 @@ INPUT_TOOLS_SOURCES := $(addprefix $(INPUT_TOOLS_DIR)/utils/, \
        $(addsuffix .c, $(INPUT_TOOLS_TARGETS-y)))
 
 $(DL_DIR)/$(INPUT_TOOLS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(INPUT_TOOLS_SITE)/$(@F)
+       $(call DOWNLOAD,$(INPUT_TOOLS_SITE),$(@F))
 
 $(DL_DIR)/$(INPUT_TOOLS_PATCH):
-       $(WGET) -P $(DL_DIR) $(INPUT_TOOLS_SITE)/$(@F)
+       $(call DOWNLOAD,$(INPUT_TOOLS_SITE),$(@F))
 
 $(INPUT_TOOLS_DIR)/.unpacked: $(DL_DIR)/$(INPUT_TOOLS_SOURCE) $(DL_DIR)/$(INPUT_TOOLS_PATCH)
        $(INPUT_TOOLS_CAT) $(DL_DIR)/$(INPUT_TOOLS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index c8e5b8ccb9f830c16538035a48f10b2e8ae0785d..d692d7f4199422ce738dded163cba4d87649b9c3 100644 (file)
@@ -11,7 +11,7 @@ IOSTAT_BINARY:=iostat
 IOSTAT_TARGET_BINARY:=usr/bin/iostat
 
 $(DL_DIR)/$(IOSTAT_SOURCE):
-        $(WGET) -P $(DL_DIR) $(IOSTAT_SITE)/$(IOSTAT_SOURCE)
+        $(call DOWNLOAD,$(IOSTAT_SITE),$(IOSTAT_SOURCE))
 
 iostat-source: $(DL_DIR)/$(IOSTAT_SOURCE)
 
index f44ee576ecfc7b207f6b2d6b1e6374af7790dd40..3ced6125a2d5f6736793f1146f8cc0b0179a6671 100644 (file)
@@ -13,7 +13,7 @@ IPROUTE2_BINARY:=tc/tc
 IPROUTE2_TARGET_BINARY:=sbin/tc
 
 $(DL_DIR)/$(IPROUTE2_SOURCE):
-       $(WGET) -P $(DL_DIR) $(IPROUTE2_SITE)$(IPROUTE2_SOURCE)
+       $(call DOWNLOAD,$(IPROUTE2_SITE)$(IPROUTE2_SOURCE))
 
 iproute2-source: $(DL_DIR)/$(IPROUTE2_SOURCE)
 
index 7611abb9e9a73d7cb6b41afd5140b654a74de021..2f67385c65d9934a4ffd25742d4489a01efba847 100644 (file)
@@ -59,7 +59,7 @@ IPSEC_TOOLS_CONFIG_FLAGS+= --without-readline
 endif
 
 $(DL_DIR)/$(IPSEC_TOOLS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(IPSEC_TOOLS_SITE)/$(IPSEC_TOOLS_SOURCE)
+       $(call DOWNLOAD,$(IPSEC_TOOLS_SITE),$(IPSEC_TOOLS_SOURCE))
 
 $(IPSEC_TOOLS_DIR)/.patched: $(DL_DIR)/$(IPSEC_TOOLS_SOURCE)
        $(IPSEC_TOOLS_CAT) $(DL_DIR)/$(IPSEC_TOOLS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index a03ac61280c771fa4132db64d1c38eabfb0d842a..8a40eb84517d12a9bc9446679a2b2e4a3f441075 100644 (file)
@@ -11,10 +11,10 @@ CONCIERGE_SITE_BUNDLES = http://concierge.sourceforge.net/bundles/
 
 $(DL_DIR)/concierge:
         mkdir -p $(DL_DIR)/concierge/
-        $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE)/concierge-$(CONCIERGE_VERSION).jar
-        $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)shell-1.0.0.RC2.jar
-        $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)service-tracker-1.0.0.RC2.jar
-        $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)event-admin-1.0.0.RC2.jar
+        $(call DOWNLOAD,$(CONCIERGE_SITE),concierge-$(CONCIERGE_VERSION).jar)
+        $(call DOWNLOAD,$(CONCIERGE_SITE_BUNDLES)shell-1.0.0.RC2.jar)
+        $(call DOWNLOAD,$(CONCIERGE_SITE_BUNDLES)service-tracker-1.0.0.RC2.jar)
+        $(call DOWNLOAD,$(CONCIERGE_SITE_BUNDLES)event-admin-1.0.0.RC2.jar)
 
 $(TARGET_DIR)/usr/lib/concierge/: $(DL_DIR)/concierge
        mkdir -p $(TARGET_DIR)/usr/lib
index 9899d93cd1ce4103d6d7463718a659890ac0132c..bb1c55b286e9b36a6b2e661899d7992a1ec9a4c1 100644 (file)
@@ -27,7 +27,7 @@ JPEG_SOURCE=jpegsrc.v$(JPEG_VERSION).tar.gz
 JPEG_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(JPEG_SOURCE):
-        $(WGET) -P $(DL_DIR) $(JPEG_SITE)/$(JPEG_SOURCE)
+        $(call DOWNLOAD,$(JPEG_SITE),$(JPEG_SOURCE))
 
 jpeg-source: $(DL_DIR)/$(JPEG_SOURCE)
 
index 031681161516616c5aa88b80159ffcab15ea770a..2e99ac2fed60535fd076e1cf32a6acd9d30d0769 100644 (file)
@@ -24,10 +24,10 @@ KEXEC_CONFIG_OPTS += --without-zlib
 endif
 
 $(DL_DIR)/$(KEXEC_SOURCE):
-       $(WGET) -P $(DL_DIR) $(KEXEC_SITE)/$(KEXEC_SOURCE)
+       $(call DOWNLOAD,$(KEXEC_SITE),$(KEXEC_SOURCE))
 
 $(DL_DIR)/$(KEXEC_PATCH):
-       $(WGET) -P $(DL_DIR) $(KEXEC_SITE)/$(KEXEC_PATCH)
+       $(call DOWNLOAD,$(KEXEC_SITE),$(KEXEC_PATCH))
 
 kexec-source: $(DL_DIR)/$(KEXEC_SOURCE) $(DL_DIR)/$(KEXEC_PATCH)
 
index b9d6a26c6f41c74af87092a40371f1d428e69d63..918801c9b100b28661c525d981d9a7b85f0b3342 100644 (file)
@@ -12,7 +12,7 @@ KISMET_BINARY:=kismet
 KISMET_TARGET_DIRECTORY=usr/bin/
 
 $(DL_DIR)/$(KISMET_SOURCE):
-       $(WGET) -P $(DL_DIR) $(KISMET_SITE)/$(KISMET_SOURCE)
+       $(call DOWNLOAD,$(KISMET_SITE),$(KISMET_SOURCE))
 
 kismet-source: $(DL_DIR)/$(KISMET_SOURCE)
 
index fc1fd88b158e53fafe3f9c3f9de46fd2beb612f8..b4c1f3855a7edbda58135b4dfd615c901f048004 100644 (file)
@@ -13,10 +13,10 @@ L2TP_BINARY:=l2tpd
 L2TP_TARGET_BINARY:=usr/sbin/l2tpd
 
 $(DL_DIR)/$(L2TP_SOURCE):
-       $(WGET) -P $(DL_DIR) $(L2TP_SITE)/$(L2TP_SOURCE)
+       $(call DOWNLOAD,$(L2TP_SITE),$(L2TP_SOURCE))
 
 $(DL_DIR)/$(L2TP_PATCH):
-       $(WGET) -P $(DL_DIR) $(L2TP_SITE)/$(L2TP_PATCH)
+       $(call DOWNLOAD,$(L2TP_SITE),$(L2TP_PATCH))
 
 l2tp-source: $(DL_DIR)/$(L2TP_SOURCE) $(DL_DIR)/$(L2TP_PATCH)
 
index 4cf08391a1006e68fac7253e139f1e45d3d1281d..9b9b9c1a604893e993b3b0be1ff1b141abd5ebf9 100644 (file)
@@ -11,7 +11,7 @@ LESS_BINARY:=less
 LESS_TARGET_BINARY:=usr/bin/less
 
 $(DL_DIR)/$(LESS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LESS_SITE)/$(LESS_SOURCE)
+       $(call DOWNLOAD,$(LESS_SITE),$(LESS_SOURCE))
 
 $(LESS_DIR)/.source: $(DL_DIR)/$(LESS_SOURCE)
        $(ZCAT) $(DL_DIR)/$(LESS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 73f316019588aeae9f15858265ac00c93ad30fc4..52cd475f2ace7e9cdfa018c82c8cdbd37c25f4b6 100644 (file)
@@ -13,7 +13,7 @@ LIBAIO_ARCH:=$(ARCH)
 LIBAIO_MAKEOPTS:= $(TARGET_CONFIGURE_OPTS) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS) -nostdlib -nostartfiles -I. -fPIC" LDFLAGS="$(TARGET_LDFLAGS)"
 
 $(DL_DIR)/$(LIBAIO_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBAIO_SITE)/$(LIBAIO_SOURCE)
+       $(call DOWNLOAD,$(LIBAIO_SITE),$(LIBAIO_SOURCE))
 
 $(LIBAIO_DIR)/.unpacked: $(DL_DIR)/$(LIBAIO_SOURCE)
        $(BZCAT) $(DL_DIR)/$(LIBAIO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 593b70816928c1ee4b6268dc200b0ac6f2fa7bcb..32f9c3928e2983cf7a15c5b9b4326d4f25cdd05b 100644 (file)
@@ -12,7 +12,7 @@ LIBCGI_DESTDIR:=usr/lib
 LIBCGI_TARGET_LIBRARY=$(LIBCGI_DESTDIR)/libcgi.so
 
 $(DL_DIR)/$(LIBCGI_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBCGI_SITE)/$(LIBCGI_SOURCE)
+       $(call DOWNLOAD,$(LIBCGI_SITE),$(LIBCGI_SOURCE))
 
 $(LIBCGI_DIR)/.source: $(DL_DIR)/$(LIBCGI_SOURCE)
        $(ZCAT) $(DL_DIR)/$(LIBCGI_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index c9ce404ef5eb6fad02f4f8e538ad59d05af393ba..02c864ab35148525bda269b1dd74531fcb15c0dc 100644 (file)
@@ -11,7 +11,7 @@ LIBCGICC_SOURCE=cgicc-$(LIBCGICC_VERSION).tar.gz
 LIBCGICC_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(LIBCGICC_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBCGICC_SITE)/$(LIBCGICC_SOURCE)
+       $(call DOWNLOAD,$(LIBCGICC_SITE),$(LIBCGICC_SOURCE))
 
 libcgicc-source: $(DL_DIR)/$(LIBCGICC_SOURCE)
 
index 43e41a1ac7e9e676fdc4640ce7f540bf1d03263b..672c148a0fc0e40fa9fdafbf6da6d1e1e4bddc41 100644 (file)
@@ -10,7 +10,7 @@ LIBDRM_CAT:=$(BZCAT)
 LIBDRM_DIR:=$(BUILD_DIR)/libdrm-$(LIBDRM_VERSION)
 
 $(DL_DIR)/$(LIBDRM_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBDRM_SITE)/$(LIBDRM_SOURCE)
+       $(call DOWNLOAD,$(LIBDRM_SITE),$(LIBDRM_SOURCE))
 
 libdrm-source: $(DL_DIR)/$(LIBDRM_SOURCE)
 
index c9c3c82c92ad34de7e811c6060d3365547e757f7..1ac62dfd5e66c884cf28b34a938cb24535fc9cb4 100644 (file)
@@ -11,7 +11,7 @@ LIBEXOSIP2_DIR=$(BUILD_DIR)/libeXosip2-$(LIBEXOSIP2_VERSION)
 LIBEXOSIP2_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(LIBEXOSIP2_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBEXOSIP2_SITE)/$(LIBEXOSIP2_SOURCE)
+       $(call DOWNLOAD,$(LIBEXOSIP2_SITE),$(LIBEXOSIP2_SOURCE))
 
 $(LIBEXOSIP2_DIR)/.unpacked: $(DL_DIR)/$(LIBEXOSIP2_SOURCE)
        $(LIBEXOSIP2_CAT) $(DL_DIR)/$(LIBEXOSIP2_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 0b8165c8ca9b4321747e0cf118efa9db3c080a86..21fe036718822583931caa48021cb663638241fa 100644 (file)
@@ -18,7 +18,7 @@ LIBELF_CONFIG:=--enable-elf64
 endif
 
 $(DL_DIR)/$(LIBELF_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBELF_SITE)/$(LIBELF_SOURCE)
+       $(call DOWNLOAD,$(LIBELF_SITE),$(LIBELF_SOURCE))
 
 $(LIBELF_DIR)/.unpacked: $(DL_DIR)/$(LIBELF_SOURCE)
        $(ZCAT) $(DL_DIR)/$(LIBELF_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index b5fb29c81ca2a8a8663aceaff75e76a90aa6f6ae..bfeaf9357fea193c15b66bdf50d7cb336257197c 100644 (file)
@@ -10,7 +10,7 @@ LIBERATION_DIR = $(BUILD_DIR)/liberation-fonts-$(LIBERATION_VERSION)
 LIBERATION_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(LIBERATION_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBERATION_SITE)/$(LIBERATION_SOURCE)
+       $(call DOWNLOAD,$(LIBERATION_SITE),$(LIBERATION_SOURCE))
 
 liberation-source: $(DL_DIR)/$(LIBERATION_SOURCE)
 
index e31c0709d93abbcba8dc54fcb3b16140f9c6675b..049a2abe44009fde8e012097e7133975e5137685 100644 (file)
@@ -12,7 +12,7 @@ LIBEVENT_BINARY:=libevent.la
 LIBEVENT_TARGET_BINARY:=usr/lib/libevent.so
 
 $(DL_DIR)/$(LIBEVENT_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBEVENT_SITE)/$(LIBEVENT_SOURCE)
+       $(call DOWNLOAD,$(LIBEVENT_SITE),$(LIBEVENT_SOURCE))
 
 libevent-source: $(DL_DIR)/$(LIBEVENT_SOURCE)
 
index d7a9c80eb94c7cedb45f16f9c5d72fa7e6ce8b6d..8efc9351a6b8704c6dd8a7765a2a7d9c8d7b053c 100644 (file)
@@ -19,10 +19,10 @@ endif
 endif
 
 $(DL_DIR)/$(LIBFLOAT_SOURCE):
-        $(WGET) -P $(DL_DIR) $(LIBFLOAT_SITE)/$(LIBFLOAT_SOURCE)
+        $(call DOWNLOAD,$(LIBFLOAT_SITE),$(LIBFLOAT_SOURCE))
 
 $(DL_DIR)/$(LIBFLOAT_PATCH):
-        $(WGET) -P $(DL_DIR) $(LIBFLOAT_SITE)/$(LIBFLOAT_PATCH)
+        $(call DOWNLOAD,$(LIBFLOAT_SITE),$(LIBFLOAT_PATCH))
 
 libfloat-source: $(DL_DIR)/$(LIBFLOAT_SOURCE) $(DL_DIR)/$(LIBFLOAT_PATCH)
 
index d7a608ebf23ac079c981ba739228be2a4a53933d..9df5bdedefc8027dab585db59a89272845d2e8cf 100644 (file)
@@ -12,7 +12,7 @@ LIBGCRYPT_DESTDIR:=usr/lib
 LIBGCRYPT_TARGET_LIBRARY=$(LIBGCRYPT_DESTDIR)/libgcrypt.so
 
 $(DL_DIR)/$(LIBGCRYPT_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBGCRYPT_SITE)/$(LIBGCRYPT_SOURCE)
+       $(call DOWNLOAD,$(LIBGCRYPT_SITE),$(LIBGCRYPT_SOURCE))
 
 $(LIBGCRYPT_DIR)/.source: $(DL_DIR)/$(LIBGCRYPT_SOURCE)
        $(BZCAT) $(DL_DIR)/$(LIBGCRYPT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 7e9c7dfe42c857066303e7921e9c9e69e55792fe..5fb30c1db30d32bb527fa01ea97b418647a7ea15 100644 (file)
@@ -11,7 +11,7 @@ LIBGLIB12_DIR:=$(BUILD_DIR)/glib-$(LIBGLIB12_VERSION)
 LIBGLIB12_BINARY:=libglib.a
 
 $(DL_DIR)/$(LIBGLIB12_SOURCE):
-        $(WGET) -P $(DL_DIR) $(LIBGLIB12_SITE)/$(LIBGLIB12_SOURCE)
+        $(call DOWNLOAD,$(LIBGLIB12_SITE),$(LIBGLIB12_SOURCE))
 
 $(LIBGLIB12_DIR)/.unpacked: $(DL_DIR)/$(LIBGLIB12_SOURCE)
        $(LIBGLIB12_CAT) $(DL_DIR)/$(LIBGLIB12_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index a893cd9b92a8edecdec20cef1b82938d050f6ecf..ede4fc44402b2945ebb12adad7d44c6f82008952 100644 (file)
@@ -12,7 +12,7 @@ LIBGPG_ERROR_DESTDIR:=usr/lib
 LIBGPG_ERROR_TARGET_LIBRARY=$(LIBGPG_ERROR_DESTDIR)/libgpg-error.so
 
 $(DL_DIR)/$(LIBGPG_ERROR_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBGPG_ERROR_SITE)/$(LIBGPG_ERROR_SOURCE)
+       $(call DOWNLOAD,$(LIBGPG_ERROR_SITE),$(LIBGPG_ERROR_SOURCE))
 
 $(LIBGPG_ERROR_DIR)/.source: $(DL_DIR)/$(LIBGPG_ERROR_SOURCE)
        $(BZCAT) $(DL_DIR)/$(LIBGPG_ERROR_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index f2d5f10886cda68a82ef80f4e7ffbb58dc309e22..a578ae8ae42568dbb0c172eb37c5d54552c762eb 100644 (file)
@@ -12,7 +12,7 @@ LIBGTK12_BINARY:=libgtk.a
 
 
 $(DL_DIR)/$(LIBGTK12_SOURCE):
-        $(WGET) -P $(DL_DIR) $(LIBGTK12_SITE)/$(LIBGTK12_SOURCE)
+        $(call DOWNLOAD,$(LIBGTK12_SITE),$(LIBGTK12_SOURCE))
 
 libgtk12-source: $(DL_DIR)/$(LIBGTK12_SOURCE)
 
index a82dc32a112e9837d2ee31a5591b44ac5d4416e9..a5e70ccf94f159b8540977bd0c9861f110ed67b5 100644 (file)
@@ -11,7 +11,7 @@ LIBLOCKFILE_DIR:=$(BUILD_DIR)/liblockfile-$(LIBLOCKFILE_VERSION)
 LIBLOCKFILE_BINARY:=liblockfile.so.1.0
 
 $(DL_DIR)/$(LIBLOCKFILE_SOURCE):
-        $(WGET) -P $(DL_DIR) $(LIBLOCKFILE_SITE)/$(LIBLOCKFILE_SOURCE)
+        $(call DOWNLOAD,$(LIBLOCKFILE_SITE),$(LIBLOCKFILE_SOURCE))
 
 liblockfile-source: $(DL_DIR)/$(LIBLOCKFILE_SOURCE)
 
index df97627b82695b5617196cdc90084f6a731f0ccb..c8582fc44d077f968622a11ee75ac1f6344fb318 100644 (file)
@@ -11,7 +11,7 @@ LIBOSIP2_DIR=$(BUILD_DIR)/libosip2-$(LIBOSIP2_VERSION)
 LIBOSIP2_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(LIBOSIP2_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBOSIP2_SITE)/$(LIBOSIP2_SOURCE)
+       $(call DOWNLOAD,$(LIBOSIP2_SITE),$(LIBOSIP2_SOURCE))
 
 $(LIBOSIP2_DIR)/.unpacked: $(DL_DIR)/$(LIBOSIP2_SOURCE)
        $(LIBOSIP2_CAT) $(DL_DIR)/$(LIBOSIP2_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 063e77ec025298fab93df49c745597ccd0837b7b..3932d09d30065b305f931e2501def1c0ba410a77 100644 (file)
@@ -28,7 +28,7 @@ LIBPCAP_SOURCE:=libpcap-$(LIBPCAP_VERSION).tar.gz
 LIBPCAP_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(LIBPCAP_SOURCE):
-        $(WGET) -P $(DL_DIR) $(LIBPCAP_SITE)/$(LIBPCAP_SOURCE)
+        $(call DOWNLOAD,$(LIBPCAP_SITE),$(LIBPCAP_SOURCE))
 
 libpcap-source: $(DL_DIR)/$(LIBPCAP_SOURCE)
 
index 7f75e58af4078b3fd37c4e64d4d5fe759a20a632..e41d2916be87485c119567b953a07fdaf831c842 100644 (file)
@@ -10,7 +10,7 @@ LIBRAW1394_SITE:=http://www.linux1394.org/dl
 LIBRAW1394_DIR:=$(BUILD_DIR)/libraw1394-$(LIBRAW1394_VERSION)
 
 $(DL_DIR)/$(LIBRAW1394_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBRAW1394_SITE)/$(LIBRAW1394_SOURCE)
+       $(call DOWNLOAD,$(LIBRAW1394_SITE),$(LIBRAW1394_SOURCE))
 
 $(LIBRAW1394_DIR)/.unpacked: $(DL_DIR)/$(LIBRAW1394_SOURCE)
        $(ZCAT) $(DL_DIR)/$(LIBRAW1394_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 07f84b6f3729a71f424ce8b0f3fa9bb4b5c57cde..d02e8b78ebd0e448fb3ddd4f82027aa92940de08 100644 (file)
@@ -28,7 +28,7 @@ LIBSYSFS_SOURCE:=sysfsutils-$(LIBSYSFS_VERSION).tar.gz
 LIBSYSFS_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(LIBSYSFS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(LIBSYSFS_SITE)/$(LIBSYSFS_SOURCE)
+        $(call DOWNLOAD,$(LIBSYSFS_SITE),$(LIBSYSFS_SOURCE))
 
 libsysfs-source: $(DL_DIR)/$(LIBSYSFS_SOURCE)
 
index b70c1c391a7adcb0e47324ffc59f82650a0811b1..9511b132747d0a5371f6133360237ea8f5f5be37 100644 (file)
@@ -15,7 +15,7 @@ LIBTOOL_TARGET_BINARY:=usr/bin/libtool
 LIBTOOL:=$(STAGING_DIR)/usr/bin/libtool
 
 $(DL_DIR)/$(LIBTOOL_SOURCE):
-        $(WGET) -P $(DL_DIR) $(LIBTOOL_SITE)/$(LIBTOOL_SOURCE)
+        $(call DOWNLOAD,$(LIBTOOL_SITE),$(LIBTOOL_SOURCE))
 
 libtool-source: $(DL_DIR)/$(LIBTOOL_SOURCE)
 
index a5f7947452d056c6c948e0628adcf9df0eefa897..38d7f768f36ca3fa3d80edb9c0f3f8a5269edf2b 100644 (file)
@@ -12,7 +12,7 @@ LIBUNGIF_BINARY:=libungif.so.$(LIBUNGIF_VERSION)
 LIBUNGIF_TARGET_BINARY:=usr/lib/libungif.so
 
 $(DL_DIR)/$(LIBUNGIF_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBUNGIF_SITE)/$(LIBUNGIF_SOURCE)
+       $(call DOWNLOAD,$(LIBUNGIF_SITE),$(LIBUNGIF_SOURCE))
 
 libungif-source: $(DL_DIR)/$(LIBUNGIF_SOURCE)
 
index 5f222942aad894fc41df91d92491191c15660272..6a80d2671ccbb84d45dec68650a0e18dc9e2c6e6 100644 (file)
@@ -14,10 +14,10 @@ LIBUSB_BINARY:=usr/lib/libusb.so
 ifneq ($(LIBUSB_PATCH_FILE),)
 LIBUSB_PATCH=$(DL_DIR)/$(LIBUSB_PATCH_FILE)
 $(LIBUSB_PATCH):
-       $(WGET) -P $(DL_DIR) $(LIBUSB_SITE)/$(LIBUSB_PATCH_FILE)
+       $(call DOWNLOAD,$(LIBUSB_SITE),$(LIBUSB_PATCH_FILE))
 endif
 $(DL_DIR)/$(LIBUSB_SOURCE): $(LIBUSB_PATCH)
-       $(WGET) -P $(DL_DIR) $(LIBUSB_SITE)/$(LIBUSB_SOURCE)
+       $(call DOWNLOAD,$(LIBUSB_SITE),$(LIBUSB_SOURCE))
        touch -c $@
 
 libusb-source: $(DL_DIR)/$(LIBUSB_SOURCE) $(LIBUSB_PATCH)
index c9de65b62488ef3c72d01dc416a843266ebe88ed..cea6cd6649e47628f5e7dedd8e23f6f390c73a78 100644 (file)
@@ -9,7 +9,7 @@ LINKS_SOURCE:=links-$(LINKS_VERSION).tar.gz
 LINKS_DIR:=$(BUILD_DIR)/links-$(LINKS_VERSION)
 
 $(DL_DIR)/$(LINKS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LINKS_SITE)/$(LINKS_SOURCE)
+       $(call DOWNLOAD,$(LINKS_SITE),$(LINKS_SOURCE))
 
 links-source: $(DL_DIR)/$(LINKS_SOURCE)
 
index 8d863abb1a59e210cb721545543e29e05ff8aa7c..38d77da39451f45b208601fefafdbd710e7fd925 100644 (file)
@@ -39,7 +39,7 @@ LINUX_FUSION_MAKE_OPTS += HEADERDIR=$(STAGING_DIR)
 #LINUX_FUSION_MAKE_OPTS += __KERNEL__=$(LINUX26_VERSION)
 
 $(DL_DIR)/$(LINUX_FUSION_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LINUX_FUSION_SITE)/$(LINUX_FUSION_SOURCE)
+       $(call DOWNLOAD,$(LINUX_FUSION_SITE),$(LINUX_FUSION_SOURCE))
 
 $(LINUX_FUSION_DIR)/.unpacked: $(DL_DIR)/$(LINUX_FUSION_SOURCE)
        $(LINUX_FUSION_CAT) $(DL_DIR)/$(LINUX_FUSION_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 802cb93d9052a962bed414d4861ee4141aae9ebd..9e9a0909f5e5c9dd0fccdc86588160d3856ce123 100644 (file)
@@ -12,7 +12,7 @@ LM_SENSORS_BINARY:=prog/sensors/sensors
 LM_SENSORS_TARGET_BINARY:=usr/bin/sensors
 
 $(DL_DIR)/$(LM_SENSORS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LM_SENSORS_SITE)/$(LM_SENSORS_SOURCE)
+       $(call DOWNLOAD,$(LM_SENSORS_SITE),$(LM_SENSORS_SOURCE))
 
 $(LM_SENSORS_DIR)/.unpacked: $(DL_DIR)/$(LM_SENSORS_SOURCE)
        $(LM_SENSORS_CAT) $(DL_DIR)/$(LM_SENSORS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index dd0153dce1ed731cb952fa61014bbd8caa2a3b2c..e1f4c17001fda63581e1b42a7a02e17de5136e1e 100644 (file)
@@ -11,7 +11,7 @@ LOCKFILE_PROGS_DIR:=$(BUILD_DIR)/lockfile-progs-0.1.11
 LOCKFILE_PROGS_BINARY:=usr/bin/lockfile-create
 
 $(DL_DIR)/$(LOCKFILE_PROGS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(LOCKFILE_PROGS_SITE)/$(LOCKFILE_PROGS_SOURCE)
+        $(call DOWNLOAD,$(LOCKFILE_PROGS_SITE),$(LOCKFILE_PROGS_SOURCE))
 
 lockfile-progs-source: $(DL_DIR)/$(LOCKFILE_PROGS_SOURCE)
 
index d939d1f67f42db719a9233aac7136deb38c1f3cd..8c8cc7c4190d1ebd375e04a27617a91d72ddabb5 100644 (file)
@@ -6,7 +6,7 @@ LOGROTATE_BINARY:=logrotate
 LOGROTATE_TARGET_BINARY:=usr/sbin/$(LOGROTATE_BINARY)
 
 $(DL_DIR)/$(LOGROTATE_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LOGROTATE_SITE)/$(LOGROTATE_SOURCE)
+       $(call DOWNLOAD,$(LOGROTATE_SITE),$(LOGROTATE_SOURCE))
 
 $(LOGROTATE_DIR)/.source: $(DL_DIR)/$(LOGROTATE_SOURCE)
        $(ZCAT) $(DL_DIR)/$(LOGROTATE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index cd998c0eb275f5ac5f99cf79edb2bc7003f29788..03c8a40cac95f18dcd211a7f0fe7c865d1679955 100644 (file)
@@ -26,7 +26,7 @@ LRZSZ_SOURCE:=lrzsz-$(LRZSZ_VERSION).tar.gz
 LRZSZ_DIR:=$(BUILD_DIR)/lrzsz-$(LRZSZ_VERSION)
 
 $(DL_DIR)/$(LRZSZ_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LRZSZ_SITE)/$(LRZSZ_SOURCE)
+       $(call DOWNLOAD,$(LRZSZ_SITE),$(LRZSZ_SOURCE))
 
 lrzsz-source: $(DL_DIR)/$(LRZSZ_SOURCE)
 
index d4135b237ea3f1c22cbf716e87729eb7f611e613..8551a41df0b8690265244b325147a78ff4ba0a5f 100644 (file)
@@ -21,7 +21,7 @@ BR2_LSOF_CFLAGS+=-UHASIPv6
 endif
 
 $(DL_DIR)/$(LSOF_SOURCE):
-        $(WGET) -P $(DL_DIR) $(LSOF_SITE)/$(LSOF_SOURCE)
+        $(call DOWNLOAD,$(LSOF_SITE),$(LSOF_SOURCE))
 
 lsof-source: $(DL_DIR)/$(LSOF_SOURCE)
 
index 5dc03cd93e3a042bb7c1ae7d37d47a818b449071..1789832011988c27834ba9bcd9df9dee5fd9c25a 100644 (file)
@@ -28,7 +28,7 @@ LTP_PATCHES+=ltp-testsuite-disable-ipv6-tests.patch
 endif
 
 $(DL_DIR)/$(LTP_TESTSUITE_SOURCE):
-        $(WGET) -P $(DL_DIR) $(LTP_TESTSUITE_SITE)/$(LTP_TESTSUITE_SOURCE)
+        $(call DOWNLOAD,$(LTP_TESTSUITE_SITE),$(LTP_TESTSUITE_SOURCE))
 
 ltp-testsuite-source: $(DL_DIR)/$(LTP_TESTSUITE_SOURCE)
 
index 25eecb7e2b781c674aad0e27b9eac942583303a2..ab791377898c7211d4b6267f43edf5b65de1aeef 100644 (file)
@@ -17,12 +17,12 @@ LTRACE_ARCH:=arm
 endif
 
 $(DL_DIR)/$(LTRACE_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LTRACE_SITE)/$(LTRACE_SOURCE)
+       $(call DOWNLOAD,$(LTRACE_SITE),$(LTRACE_SOURCE))
 
 ifneq ($(LTRACE_PATCH),)
 LTRACE_PATCH_FILE:=$(DL_DIR)/$(LTRACE_PATCH)
 $(LTRACE_PATCH_FILE):
-       $(WGET) -P $(DL_DIR) $(LTRACE_SITE)/$(LTRACE_PATCH)
+       $(call DOWNLOAD,$(LTRACE_SITE),$(LTRACE_PATCH))
 
 else
 LTRACE_PATCH_FILE:=
index 32e6c82dcef87805dbb80b4eddaf8ad300176f42..f08e25123488bbdb84b3de93e57adad594204885 100644 (file)
@@ -13,7 +13,7 @@ LTT_BINARY:=Visualizer/tracevisualizer
 LTT_TARGET_BINARY:=Daemon/tracedaemon
 
 $(DL_DIR)/$(LTT_SOURCE):
-        $(WGET) -P $(DL_DIR) $(LTT_SITE)/$(LTT_SOURCE)
+        $(call DOWNLOAD,$(LTT_SITE),$(LTT_SOURCE))
 
 ltt-source: $(DL_DIR)/$(LTT_SOURCE)
 
index b6a6ddef4b7f1c8f1da2a8f50e9b6d367e139b74..f330c947d09694de4ec5a673f38ca921e36e6e06 100644 (file)
@@ -16,7 +16,7 @@ LUA_CFLAGS=-DLUA_USE_LINUX
 LUA_MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
 
 $(DL_DIR)/$(LUA_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LUA_SITE)/$(LUA_SOURCE)
+       $(call DOWNLOAD,$(LUA_SITE),$(LUA_SOURCE))
 
 $(LUA_DIR)/.unpacked: $(DL_DIR)/$(LUA_SOURCE)
        $(LUA_CAT) $(DL_DIR)/$(LUA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 6b7725bffcbac6e11ce12a54084c49b85cd98739..1c151293573b8685d1a1a29cfcce92ac10041448 100644 (file)
@@ -34,7 +34,7 @@ LVM2_SBIN:=lvchange lvcreate lvdisplay lvextend lvm lvmchange lvmdiskscan lvmsad
 LVM2_TARGET_SBINS=$(foreach lvm2sbin, $(LVM2_SBIN), $(TARGET_DIR)/sbin/$(lvm2sbin))
 
 $(DL_DIR)/$(LVM2_SOURCE):
-        $(WGET) -P $(DL_DIR) $(LVM2_SITE)/$(LVM2_SOURCE)
+        $(call DOWNLOAD,$(LVM2_SITE),$(LVM2_SOURCE))
 
 lvm2-source: $(DL_DIR)/$(LVM2_SOURCE)
 
index 130292f08041e0dbf2f99fcdc754006b3b81ec4f..f92c44e09dd27df9f073da8c2a98707b28d03dd4 100644 (file)
@@ -18,7 +18,7 @@ HOST_LZMA_IF_ANY=$(shell toolchain/dependencies/check-host-lzma.sh)
 
 
 $(DL_DIR)/$(LZMA_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LZMA_SITE)/$(LZMA_SOURCE)
+       $(call DOWNLOAD,$(LZMA_SITE),$(LZMA_SOURCE))
 
 ######################################################################
 #
index ab24ea0dcb7b14fefd399b56b5f23c03b1d12e93..b7bfe9353ca187181dbc0f840e4c4b1ed33fc9e3 100644 (file)
@@ -21,7 +21,7 @@ gl_cv_absolute_wchar_h=gl_cv_absolute_wchar_h=__fpending.h
 endif
 
 $(DL_DIR)/$(M4_SOURCE):
-        $(WGET) -P $(DL_DIR) $(M4_SITE)/$(M4_SOURCE)
+        $(call DOWNLOAD,$(M4_SITE),$(M4_SOURCE))
 
 m4-source: $(DL_DIR)/$(M4_SOURCE)
 
index da544a7be40d7cbd44b9fe5544c3854f2db5500c..268f3b6e1fa5bc4c84cfbbe1ade283834970e0ea 100644 (file)
@@ -12,7 +12,7 @@ GNUMAKE_BINARY:=make
 GNUMAKE_TARGET_BINARY:=usr/bin/make
 
 $(DL_DIR)/$(GNUMAKE_SOURCE):
-        $(WGET) -P $(DL_DIR) $(GNUMAKE_SITE)/$(GNUMAKE_SOURCE)
+        $(call DOWNLOAD,$(GNUMAKE_SITE),$(GNUMAKE_SOURCE))
 
 make-source: $(DL_DIR)/$(GNUMAKE_SOURCE)
 
index af278de12098976a7a3fdfd6ae329d9fea4d1e6d..e2e4e0ed5a081fa15aec5116bc4d665fed4b63cc 100644 (file)
@@ -73,34 +73,34 @@ MATCHBOX_KB_DIR:=$(BUILD_DIR)/$(MATCHBOX_KB_BIN)-$(MATCHBOX_KB_VERSION)
 #############################################################
 
 $(DL_DIR)/$(MATCHBOX_LIB_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/libmatchbox/$(MATCHBOX_LIB_VERSION)/$(MATCHBOX_LIB_SOURCE)
+       $(call DOWNLOAD,$(MATCHBOX_SITE)/libmatchbox/$(MATCHBOX_LIB_VERSION),$(MATCHBOX_LIB_SOURCE))
 
 $(DL_DIR)/$(MATCHBOX_SNOTIFY_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MATCHBOX_SNOTIFY_SITE)/$(MATCHBOX_SNOTIFY_SOURCE)
+       $(call DOWNLOAD,$(MATCHBOX_SNOTIFY_SITE),$(MATCHBOX_SNOTIFY_SOURCE))
 
 $(DL_DIR)/$(MATCHBOX_WM_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_WM_BIN)/$(MATCHBOX_WM_MAJORVER)/$(MATCHBOX_WM_SOURCE)
+       $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_WM_BIN)/$(MATCHBOX_WM_MAJORVER),$(MATCHBOX_WM_SOURCE))
 
 $(DL_DIR)/$(MATCHBOX_SM_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_SM_BIN)/$(MATCHBOX_SM_MAJORVER)/$(MATCHBOX_SM_SOURCE)
+       $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_SM_BIN)/$(MATCHBOX_SM_MAJORVER),$(MATCHBOX_SM_SOURCE))
 
 #$(DL_DIR)/$(MATCHBOX_DM_SOURCE):
-#      $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_SM_BIN)/$(MATCHBOX_SM_MAJORVER)/$(MATCHBOX_SM_SOURCE)
+#      $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_SM_BIN)/$(MATCHBOX_SM_MAJORVER),$(MATCHBOX_SM_SOURCE))
 
 $(DL_DIR)/$(MATCHBOX_CN_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_CN_BIN)/$(MATCHBOX_CN_MAJORVER)/$(MATCHBOX_CN_SOURCE)
+       $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_CN_BIN)/$(MATCHBOX_CN_MAJORVER),$(MATCHBOX_CN_SOURCE))
 
 $(DL_DIR)/$(MATCHBOX_PL_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_PL_BIN)/$(MATCHBOX_PL_MAJORVER)/$(MATCHBOX_PL_SOURCE)
+       $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_PL_BIN)/$(MATCHBOX_PL_MAJORVER),$(MATCHBOX_PL_SOURCE))
 
 $(DL_DIR)/$(MATCHBOX_DP_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_DP_BIN)/$(MATCHBOX_DP_MAJORVER)/$(MATCHBOX_DP_SOURCE)
+       $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_DP_BIN)/$(MATCHBOX_DP_MAJORVER),$(MATCHBOX_DP_SOURCE))
 
 $(DL_DIR)/$(MATCHBOX_FK_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_FK_BIN)/$(MATCHBOX_FK_MAJORVER)/$(MATCHBOX_FK_SOURCE)
+       $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_FK_BIN)/$(MATCHBOX_FK_MAJORVER),$(MATCHBOX_FK_SOURCE))
 
 $(DL_DIR)/$(MATCHBOX_KB_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_KB_BIN)/$(MATCHBOX_KB_MAJORVER)/$(MATCHBOX_KB_SOURCE)
+       $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_KB_BIN)/$(MATCHBOX_KB_MAJORVER),$(MATCHBOX_KB_SOURCE))
 
 
 matchbox-source: $(DL_DIR)/$(MATCHBOX_LIB_SOURCE) $(DL_DIR)/$(MATCHBOX_WM_SOURCE)
index 68a58dbe0f879696d30d1d501d7ed7ab6ff86788..1e330275cbcb229242acee74ae1adf71896beb16 100644 (file)
@@ -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)
index ee03a2bdfeba0edf45bd3dad9177fd10b7df884d..952f600ce727761b4379298c53d31e09779195d8 100644 (file)
@@ -15,7 +15,7 @@ ifeq ($(BR2_PACKAGE_MDNSRESPONDER_UTILS),y)
 endif
 
 $(DL_DIR)/$(MDNSRESPONDER_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MDNSRESPONDER_SITE)
+       $(call DOWNLOAD,$(MDNSRESPONDER_SITE))
 
 $(MDNSRESPONDER_DIR)/.unpacked: $(DL_DIR)/$(MDNSRESPONDER_SOURCE)
        $(MDNSRESPONDER_CAT) $(DL_DIR)/$(MDNSRESPONDER_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index a8f81b2e66c5bc6ba3d0506e50901aad0d5e8169..7220aeeeb040154ad25b286a06aac6a127ce0c09 100644 (file)
@@ -10,7 +10,7 @@ MEMSTAT_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/m/memstat
 MEMSTAT_DIR:=$(BUILD_DIR)/memstat-$(MEMSTAT_VERSION)
 
 $(DL_DIR)/$(MEMSTAT_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MEMSTAT_SITE)/$(MEMSTAT_SOURCE)
+       $(call DOWNLOAD,$(MEMSTAT_SITE),$(MEMSTAT_SOURCE))
 
 $(MEMSTAT_DIR)/.unpacked: $(DL_DIR)/$(MEMSTAT_SOURCE)
        $(ZCAT) $(DL_DIR)/$(MEMSTAT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 04b69ebe5d038a9cf4a98e9103f9aa5a15b2f902..e10f965dc5e2c49a4c816170b4ff7cd61ffbfe04 100644 (file)
@@ -11,7 +11,7 @@ MEMTESTER_BINARY:=memtester
 MEMTESTER_TARGET_BINARY:=usr/bin/memtester
 
 $(DL_DIR)/$(MEMTESTER_SOURCE):
-        $(WGET) -P $(DL_DIR) $(MEMTESTER_SITE)/$(MEMTESTER_SOURCE)
+        $(call DOWNLOAD,$(MEMTESTER_SITE),$(MEMTESTER_SOURCE))
 
 memtester-source: $(DL_DIR)/$(MEMTESTER_SOURCE)
 
index 3b70bb23f32511175d61c0b3255aa6bda824dfa8..d4498ce821b098a3d7b250a60b989645932f8b33 100644 (file)
@@ -18,10 +18,10 @@ METACITY_CAT2:=$(ZCAT)
 METACITY_SITE2:=http://art.gnome.org/download/themes/metacity/1190
 
 $(DL_DIR)/$(METACITY_SOURCE):
-        $(WGET) -P $(DL_DIR) $(METACITY_SITE)/$(METACITY_SOURCE)
+        $(call DOWNLOAD,$(METACITY_SITE),$(METACITY_SOURCE))
 
 $(DL_DIR)/$(METACITY_SOURCE2):
-        $(WGET) -P $(DL_DIR) $(METACITY_SITE2)/$(METACITY_SOURCE2)
+        $(call DOWNLOAD,$(METACITY_SITE2),$(METACITY_SOURCE2))
 
 metacity-source: $(DL_DIR)/$(METACITY_SOURCE) $(DL_DIR)/$(METACITY_SOURCE2)
 
index 01d9b311435df1627fb72d25774e0cd66924e2e6..dbdadadc40ac93b8c56101cc2eefce1cfa724d1d 100644 (file)
@@ -31,7 +31,7 @@ MICROCOM_SOURCE:=m102.tar.gz
 MICROCOM_DIR:=$(BUILD_DIR)/microcom-$(MICROCOM_VERSION)
 
 $(DL_DIR)/$(MICROCOM_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MICROCOM_SITE)/$(MICROCOM_SOURCE)
+       $(call DOWNLOAD,$(MICROCOM_SITE),$(MICROCOM_SOURCE))
 
 microcom-source: $(DL_DIR)/$(MICROCOM_SOURCE)
 
index c3552adf6c5db924e57f2215f38e3ed511f38532..79ddff44ba3a36594a64dd08a5820f27734f1fab 100644 (file)
@@ -19,7 +19,7 @@ MICROPERL_MODS+=File/Basename.pm Errno.pm Config.pm IO/File.pm Symbol.pm \
        DynaLoader.pm AutoLoader.pm Carp/Heavy.pm
 endif
 $(DL_DIR)/$(MICROPERL_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MICROPERL_SITE)/$(MICROPERL_SOURCE)
+       $(call DOWNLOAD,$(MICROPERL_SITE),$(MICROPERL_SOURCE))
 
 $(MICROPERL_DIR)/.source: $(DL_DIR)/$(MICROPERL_SOURCE)
        $(MICROPERL_CAT) $(DL_DIR)/$(MICROPERL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 2951415aa60c2e299bee0a8a8074d6c55c310b1f..710ab836064d4a8744ca7928912cb574261ecbf5 100644 (file)
@@ -18,7 +18,7 @@ MICROWIN_VERSION=$(subst $(MICROWIN_DIR)/microwindows-,,$(wildcard $(MICROWIN_DI
 MICROWIN_CONFIG:=$(MICROWIN_DIR)/src/Configs/config.uclibc
 
 $(DL_DIR)/$(MICROWIN_SOURCE):
-        $(WGET) -P $(DL_DIR) $(MICROWIN_SITE)/$(MICROWIN_SOURCE)
+        $(call DOWNLOAD,$(MICROWIN_SITE),$(MICROWIN_SOURCE))
 
 microwin-source: $(DL_DIR)/$(MICROWIN_SOURCE)
 
index 1aaaa0474743b751ed247cdda629636fa7e95a91..a5357ec477dcb81b82a22fce5e7591c044a28d2a 100644 (file)
@@ -15,11 +15,11 @@ MIIDIAG_BINARY:=usr/sbin/mii-diag
 ifneq ($(MIIDIAG_PATCH_FILE),)
 MIIDIAG_PATCH=$(DL_DIR)/$(MIIDIAG_PATCH_FILE)
 $(MIIDIAG_PATCH):
-       $(WGET) -P $(DL_DIR) $(MIIDIAG_SITE)/$(MIIDIAG_PATCH_FILE)
+       $(call DOWNLOAD,$(MIIDIAG_SITE),$(MIIDIAG_PATCH_FILE))
 endif
 
 $(DL_DIR)/$(MIIDIAG_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MIIDIAG_SITE)/$(MIIDIAG_SOURCE)
+       $(call DOWNLOAD,$(MIIDIAG_SITE),$(MIIDIAG_SOURCE))
 
 $(MIIDIAG_DIR)/.unpacked: $(DL_DIR)/$(MIIDIAG_SOURCE) $(MIIDIAG_PATCH)
        mkdir -p $(MIIDIAG_DIR)
index fb6f032bee61b8f658a97e7080cce14f17f5177b..e147da6ed0f3af01cceb5ebc8fc307fb2f1584ad 100644 (file)
@@ -12,7 +12,7 @@ MKDOSFS_BINARY:=mkdosfs/mkdosfs
 MKDOSFS_TARGET_BINARY:=sbin/mkdosfs
 
 $(DL_DIR)/$(MKDOSFS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(MKDOSFS_SITE)/$(MKDOSFS_SOURCE)
+        $(call DOWNLOAD,$(MKDOSFS_SITE),$(MKDOSFS_SOURCE))
 
 mkdosfs-source: $(DL_DIR)/$(MKDOSFS_SOURCE)
 
index f788fc4589690e8faa5a8a1519784d58ec21b17d..b135f6a4c73b3738a8da9ff56ba4fd22d8c70aee 100644 (file)
@@ -15,7 +15,7 @@ MODULE_INIT_TOOLS_TARGET_BINARY=$(TARGET_DIR)/sbin/$(MODULE_INIT_TOOLS_BINARY)
 STRIPPROG=$(STRIPCMD)
 
 $(DL_DIR)/$(MODULE_INIT_TOOLS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MODULE_INIT_TOOLS_SITE)/$(MODULE_INIT_TOOLS_SOURCE)
+       $(call DOWNLOAD,$(MODULE_INIT_TOOLS_SITE),$(MODULE_INIT_TOOLS_SOURCE))
 
 $(MODULE_INIT_TOOLS_DIR)/.unpacked: $(DL_DIR)/$(MODULE_INIT_TOOLS_SOURCE)
        $(MODULE_INIT_TOOLS_CAT) $(DL_DIR)/$(MODULE_INIT_TOOLS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
index f641ffea82da956148c8774ee696085aca628b05..ceffacce0f3ebf236bdf4d8c6e13c118ab8a060b 100644 (file)
@@ -15,7 +15,7 @@ MODUTILS_TARGET_BINARY=sbin/$(MODUTILS_BINARY)
 STRIPPROG=$(STRIPCMD)
 
 $(DL_DIR)/$(MODUTILS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MODUTILS_SITE)/$(MODUTILS_SOURCE)
+       $(call DOWNLOAD,$(MODUTILS_SITE),$(MODUTILS_SOURCE))
 
 #############################################################
 #
index 83115eb0842fe174f2f8ecd72b2927790729796c..4e9aa00f21741b1fdecd81872881ec286271cc42 100644 (file)
@@ -37,7 +37,7 @@ endif
 endif
 
 $(DL_DIR)/$(MPATROL_SOURCE):
-        $(WGET) -P $(DL_DIR) $(MPATROL_SITE)/$(MPATROL_SOURCE)
+        $(call DOWNLOAD,$(MPATROL_SITE),$(MPATROL_SOURCE))
 
 mpatrol-source: $(DL_DIR)/$(MPATROL_SOURCE)
 
index bc01667fbf110d2d01085082829556b866b9e108..631be64a046d42c4dcc44d7fecdd606c98a2eadf 100644 (file)
@@ -21,11 +21,11 @@ ifneq ($(MPFR_PATCH),)
 MPFR_PATCH_SOURCE:=$(DL_DIR)/$(MPFR_PATCH_FILE)
 
 $(MPFR_PATCH_SOURCE):
-       $(WGET) -O $@ $(MPFR_SITE)/$(MPFR_PATCH)
+       $(WGET) -O $@ $(MPFR_SITE),$(MPFR_PATCH)
 endif
 
 $(DL_DIR)/$(MPFR_SOURCE):
-        $(WGET) -P $(DL_DIR) $(MPFR_SITE)/$(MPFR_SOURCE)
+        $(call DOWNLOAD,$(MPFR_SITE),$(MPFR_SOURCE))
 
 $(MPFR_DIR)/.unpacked: $(DL_DIR)/$(MPFR_SOURCE) $(MPFR_PATCH_SOURCE)
        $(MPFR_CAT) $(DL_DIR)/$(MPFR_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
index f2eabf710bfdc4da47caccadc54f13fd3f02cfe1..ffb1f4f66986d471c27699f7bea2593d0a4d678f 100644 (file)
@@ -14,10 +14,10 @@ MROUTED_BINARY:=mrouted
 MROUTED_TARGET_BINARY:=usr/sbin/mrouted
 
 $(DL_DIR)/$(MROUTED_SOURCE):
-        $(WGET) -P $(DL_DIR) $(MROUTED_SITE)/$(MROUTED_SOURCE)
+        $(call DOWNLOAD,$(MROUTED_SITE),$(MROUTED_SOURCE))
 
 $(DL_DIR)/$(MROUTED_PATCH):
-        $(WGET) -P $(DL_DIR) $(MROUTED_SITE)/$(MROUTED_PATCH)
+        $(call DOWNLOAD,$(MROUTED_SITE),$(MROUTED_PATCH))
 
 $(MROUTED_DIR)/.unpacked: $(DL_DIR)/$(MROUTED_SOURCE) $(DL_DIR)/$(MROUTED_PATCH)
        $(MROUTED_CAT) $(DL_DIR)/$(MROUTED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 20edfb450d61dc0203925e0d7b05effd266492d1..b5a9d5c503a8eb55148524a20c2f7dc544c625ae 100644 (file)
@@ -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)
index 7d74a6474271ffd7ef29fc97ad837a37dfbd5df2..dfd3485799316ab04855330bca4efc8f7e322378 100644 (file)
@@ -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) -
index ca25ee56b0d73c0dfe2e5b7fb87fc23a1db8c719..e4ec4b29ead6f93d8adc80fb7e7ad715141052d6 100644 (file)
@@ -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) -
index 56120174c3f1c0e5547f4377cb150886382b9935..f6b67da93c6f856289ddca7f5089c4bcd85cf11b 100644 (file)
@@ -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) -
index a929950435aa007f8a1cb811d364a3e8071c8074..b8706264680a7b5786bddba9b2e9fdea57d183d5 100644 (file)
@@ -28,7 +28,7 @@ ifeq ($(BR2_SOFT_FLOAT),y)
 endif
 
 $(DL_DIR)/$(ALSA_LIB_SOURCE):
-       $(WGET) -P $(DL_DIR) $(ALSA_LIB_SITE)/$(ALSA_LIB_SOURCE)
+       $(call DOWNLOAD,$(ALSA_LIB_SITE),$(ALSA_LIB_SOURCE))
 
 $(ALSA_LIB_DIR)/.unpacked: $(DL_DIR)/$(ALSA_LIB_SOURCE)
        $(ALSA_LIB_CAT) $(DL_DIR)/$(ALSA_LIB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 6e99d041a8b0e86b3771be400aa8214a0a1d8987..da04363f3e6943bc9763912fd8c7d6bcae31fa92 100644 (file)
@@ -12,7 +12,7 @@ ALSA_UTILS_BINARY:=alsactl/alsactl
 ALSA_UTILS_TARGET_BINARY:=usr/sbin/alsactl
 
 $(DL_DIR)/$(ALSA_UTILS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(ALSA_UTILS_SITE)/$(ALSA_UTILS_SOURCE)
+       $(call DOWNLOAD,$(ALSA_UTILS_SITE),$(ALSA_UTILS_SOURCE))
 
 $(ALSA_UTILS_DIR)/.unpacked: $(DL_DIR)/$(ALSA_UTILS_SOURCE)
        $(ALSA_UTILS_CAT) $(DL_DIR)/$(ALSA_UTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index ef5c14c3729b5cff39b9a7a5293eaaa5759795b6..9d50f2433ed29eaec4a09d331bac1538f2cbe0a9 100644 (file)
@@ -11,7 +11,7 @@ ASTERISK_BINARY:=asterisk
 ASTERISK_TARGET_BINARY:=usr/sbin/asterisk
 
 $(DL_DIR)/$(ASTERISK_SOURCE):
-       $(WGET) -P $(DL_DIR) $(ASTERISK_SITE)/$(ASTERISK_SOURCE)
+       $(call DOWNLOAD,$(ASTERISK_SITE),$(ASTERISK_SOURCE))
 
 $(ASTERISK_DIR)/.source: $(DL_DIR)/$(ASTERISK_SOURCE)
        $(ZCAT) $(DL_DIR)/$(ASTERISK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index a324658cfcb7937f9768cc2262b5f6335e2c2c8e..d6f5fbd38565ab0b60f2fd4eda34e7b9c555b6f2 100644 (file)
@@ -11,7 +11,7 @@ AUMIX_DIR=$(BUILD_DIR)/aumix-$(AUMIX_VERSION)
 AUMIX_CAT:=$(BZCAT)
 
 $(DL_DIR)/$(AUMIX_SOURCE):
-       $(WGET) -P $(DL_DIR) $(AUMIX_SITE)/$(AUMIX_SOURCE)
+       $(call DOWNLOAD,$(AUMIX_SITE),$(AUMIX_SOURCE))
 
 $(AUMIX_DIR)/.unpacked: $(DL_DIR)/$(AUMIX_SOURCE)
        $(AUMIX_CAT) $(DL_DIR)/$(AUMIX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index e9a651dd8e1b18e8b484ebc4e93681f87f0109f9..80d37d5959c68ce944279afe4ef8bf7fb9193415 100644 (file)
@@ -12,13 +12,13 @@ FESTLEX_INSTALL_DIR = $(TARGET_DIR)/usr/share
 $(FESTLEX_STATUS_DIR)/.downloaded:
        mkdir -p $(FESTLEX_STATUS_DIR)
 ifeq ($(BR2_PACKAGE_FESTLEX_CMU),y)
-       $(Q)test -e $(DL_DIR)/$(LEX1) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(LEX1)
+       $(call DOWNLOAD,$(FESTIVAL_SITE),$(LEX1))
 endif
 ifeq ($(BR2_PACKAGE_FESTLEX_OALD),y)
-       $(Q)test -e $(DL_DIR)/$(LEX2) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(LEX2)
+       $(call DOWNLOAD,$(FESTIVAL_SITE),$(LEX2))
 endif
 ifeq ($(BR2_PACKAGE_FESTLEX_POS),y)
-       $(Q)test -e $(DL_DIR)/$(LEX3) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(LEX3)
+       $(call DOWNLOAD,$(FESTIVAL_SITE),$(LEX3))
 endif
        touch $@
 
index d44493c83760d710d0d3de30e25ba387f7cb1851..a2ee169f3dafb12fe3d1ad1f219b8530ed8d67de 100644 (file)
@@ -21,35 +21,35 @@ FESTVOX_INSTALL_DIR = $(TARGET_DIR)/usr/share
 $(FESTVOX_STATUS_DIR)/.downloaded:
        mkdir -p $(FESTVOX_STATUS_DIR)
 ifeq ($(BR2_PACKAGE_FESTVOX_AWB),y)
-       $(Q)test -e $(DL_DIR)/$(VOICE1) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE1)
+       $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE1))
 endif
 ifeq ($(BR2_PACKAGE_FESTVOX_BDL),y)
-       $(Q)test -e $(DL_DIR)/$(VOICE2) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE2)
+       $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE2))
 endif
 ifeq ($(BR2_PACKAGE_FESTVOX_JMK),y)
-       $(Q)test -e $(DL_DIR)/$(VOICE3) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE3)
+       $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE3))
 endif
 ifeq ($(BR2_PACKAGE_FESTVOX_SLT),y)
-       $(Q)test -e $(DL_DIR)/$(VOICE4) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE4)
+       $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE4))
 endif
 ifeq ($(BR2_PACKAGE_FESTVOX_AWB_MULTISYN),y)
-       $(Q)test -e $(DL_DIR)/$(VOICE5) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE5)
+       $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE5))
 endif
 ifeq ($(BR2_PACKAGE_FESTVOX_JMK_MULTISYN),y)
-       $(Q)test -e $(DL_DIR)/$(VOICE6) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE6)
+       $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE6))
 endif
 ifeq ($(BR2_PACKAGE_FESTVOX_KAL_SIXTEENK),y)
-       $(Q)test -e $(DL_DIR)/$(VOICE7) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE7)
+       $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE7))
 endif
 ifeq ($(BR2_PACKAGE_FESTVOX_KED_EIGHTK),y)
-       $(Q)test -e $(DL_DIR)/$(VOICE8) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE8)
+       $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE8))
 endif
 ifeq ($(BR2_PACKAGE_FESTVOX_KED_SIXTEENK),y)
-       $(Q)test -e $(DL_DIR)/$(VOICE9) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE9)
+       $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE9))
 endif
-       $(Q)test -e $(DL_DIR)/$(FRONTEND1) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(FRONTEND1)
-       $(Q)test -e $(DL_DIR)/$(FRONTEND2) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(FRONTEND2)
-       $(Q)test -e $(DL_DIR)/$(FRONTEND3) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(FRONTEND3)
+       $(call DOWNLOAD,$(FESTIVAL_SITE),$(FRONTEND1))
+       $(call DOWNLOAD,$(FESTIVAL_SITE),$(FRONTEND2))
+       $(call DOWNLOAD,$(FESTIVAL_SITE),$(FRONTEND3))
 
        touch $@
 
index 26f35c8792c6be90de9eeac64c9d10f4da5cb176..0308f02295435d3a3d0f3e760ed65c99f60197b9 100644 (file)
@@ -13,7 +13,7 @@ LIBID3TAG_BIN:=libid3tag.so.0.3.0
 LIBID3TAG_TARGET_BIN:=usr/lib/$(LIBID3TAG_BIN)
 
 $(DL_DIR)/$(LIBID3TAG_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBID3TAG_SITE)/$(LIBID3TAG_SOURCE)
+       $(call DOWNLOAD,$(LIBID3TAG_SITE),$(LIBID3TAG_SOURCE))
 
 $(LIBID3TAG_DIR)/.unpacked: $(DL_DIR)/$(LIBID3TAG_SOURCE)
        $(LIBID3TAG_CAT) $(DL_DIR)/$(LIBID3TAG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 85754545ffc6917f6b525510ec8346c91abd7e23..4d9200dc0260f01c22206331ff7164498e49de90 100644 (file)
@@ -11,7 +11,7 @@ LIBMAD_DIR=$(BUILD_DIR)/libmad-$(LIBMAD_VERSION)
 LIBMAD_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(LIBMAD_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBMAD_SITE)/$(LIBMAD_SOURCE)
+       $(call DOWNLOAD,$(LIBMAD_SITE),$(LIBMAD_SOURCE))
 
 $(LIBMAD_DIR)/.unpacked: $(DL_DIR)/$(LIBMAD_SOURCE)
        $(LIBMAD_CAT) $(DL_DIR)/$(LIBMAD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index a9584424b39ac411c7e1131a88c818b12e986236..b208529062750361f7cf3fb892998988c9d6a7e7 100644 (file)
@@ -11,7 +11,7 @@ LIBSNDFILE_BINARY:=src/.libs/libsndfile.so
 LIBSNDFILE_TARGET_BINARY:=usr/lib/libsndfile.so
 
 $(DL_DIR)/$(LIBSNDFILE_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBSNDFILE_SITE)/$(LIBSNDFILE_SOURCE)
+       $(call DOWNLOAD,$(LIBSNDFILE_SITE),$(LIBSNDFILE_SOURCE))
 
 $(LIBSNDFILE_DIR)/.unpacked: $(DL_DIR)/$(LIBSNDFILE_SOURCE)
        $(ZCAT) $(DL_DIR)/$(LIBSNDFILE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index b99d68a3245b2186a48ed6f29b8c744d829a1790..09cee54c12984255d8a5b4dca3ef7be4ea33c8f4 100644 (file)
@@ -12,7 +12,7 @@ LIBVORBIS_TARGET_BINARY:=usr/bin/libvorbis
 LIBVORBIS_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(LIBVORBIS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(LIBVORBIS_SITE)/$(LIBVORBIS_SOURCE)
+       $(call DOWNLOAD,$(LIBVORBIS_SITE),$(LIBVORBIS_SOURCE))
 
 $(LIBVORBIS_DIR)/.source: $(DL_DIR)/$(LIBVORBIS_SOURCE)
        $(LIBVORBIS_CAT) $(DL_DIR)/$(LIBVORBIS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 2662325813f609bc1540a6c4b9f895af06e04944..d8219b7279f5fcd5388db9a271bf2a310065ddf7 100644 (file)
@@ -19,7 +19,7 @@ MADPLAY_ALSA_DEP:=alsa-lib
 endif
 
 $(DL_DIR)/$(MADPLAY_SOURCE):
-        $(WGET) -P $(DL_DIR) $(MADPLAY_SITE)/$(MADPLAY_SOURCE)
+        $(call DOWNLOAD,$(MADPLAY_SITE),$(MADPLAY_SOURCE))
 
 $(MADPLAY_DIR)/.unpacked: $(DL_DIR)/$(MADPLAY_SOURCE)
        $(MADPLAY_CAT) $(DL_DIR)/$(MADPLAY_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index caf979714f03af0d7f50f794cdd806a12146d36b..b32681c408f3fb41a4be2f679da936a10da02a13 100644 (file)
@@ -19,7 +19,7 @@ MPG123_ALSA_DEP:=alsa-lib
 endif
 
 $(DL_DIR)/$(MPG123_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MPG123_SITE)/$(MPG123_SOURCE)
+       $(call DOWNLOAD,$(MPG123_SITE),$(MPG123_SOURCE))
 
 $(MPG123_DIR)/.unpacked: $(DL_DIR)/$(MPG123_SOURCE)
        $(MPG123_CAT) $(DL_DIR)/$(MPG123_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 7d7c83032e811458dde8b51e5d18ca1589acc118..7b3dc5f5dc96376f9904d1f2f2cdd1582ce2b0b0 100644 (file)
@@ -18,7 +18,7 @@ MPLAYER_ENDIAN:=--disable-big-endian
 endif
 
 $(DL_DIR)/$(MPLAYER_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MPLAYER_SITE)/$(MPLAYER_SOURCE)
+       $(call DOWNLOAD,$(MPLAYER_SITE),$(MPLAYER_SOURCE))
 
 $(MPLAYER_DIR)/.unpacked: $(DL_DIR)/$(MPLAYER_SOURCE)
        $(MPLAYER_CAT) $(DL_DIR)/$(MPLAYER_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index b56f87ce8f8a1c2805b016cdee1013e86d06a9bd..3318149f88bcfc8b93d8ccdf01fb919c5ad94f7a 100644 (file)
@@ -13,10 +13,10 @@ MUTT_BINARY:=mutt
 MUTT_TARGET_BINARY:=usr/bin/mutt
 
 $(DL_DIR)/$(MUTT_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MUTT_SITE)/$(MUTT_SOURCE)
+       $(call DOWNLOAD,$(MUTT_SITE),$(MUTT_SOURCE))
 
 $(DL_DIR)/$(MUTT_PATCH):
-       $(WGET) -P $(DL_DIR) $(MUTT_SITE)/$(MUTT_PATCH)
+       $(call DOWNLOAD,$(MUTT_SITE),$(MUTT_PATCH))
 
 $(MUTT_DIR)/.unpacked: $(DL_DIR)/$(MUTT_SOURCE) $(DL_DIR)/$(MUTT_PATCH)
        $(MUTT_CAT) $(DL_DIR)/$(MUTT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 39c636eee0e4df401c8259758bdb11c2a7e063ba..c480149ff903cf1a791fbc8a2f51bd484237796d 100644 (file)
@@ -11,7 +11,7 @@ NBD_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/nbd/
 NBD_DIR=$(BUILD_DIR)/nbd-$(NBD_VERSION)
 
 $(DL_DIR)/$(NBD_SOURCE):
-       $(WGET) -P $(DL_DIR) $(NBD_SITE)/$(NBD_SOURCE)
+       $(call DOWNLOAD,$(NBD_SITE),$(NBD_SOURCE))
 
 $(NBD_DIR)/.unpacked: $(DL_DIR)/$(NBD_SOURCE)
        $(NBD_CAT) $(DL_DIR)/$(NBD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 904a0136aecac87468360925125acf9180327778..70f0fd6183d22838d1d56d9c10e2d1507332f292 100644 (file)
@@ -38,7 +38,7 @@ endif
 ncftp-source: $(DL_DIR)/$(NCFTP_SOURCE)
 
 $(DL_DIR)/$(NCFTP_SOURCE):
-       $(WGET) -P $(DL_DIR) $(NCFTP_SITE)/$(NCFTP_SOURCE)
+       $(call DOWNLOAD,$(NCFTP_SITE),$(NCFTP_SOURCE))
 
 $(NCFTP_DIR)/.source: $(DL_DIR)/$(NCFTP_SOURCE)
        $(BZCAT) $(DL_DIR)/$(NCFTP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index a728f50dc5a6108e80e01665b695bb79fae322bf..0fbef7194b5ca8f20864542a0f519306f7113b08 100644 (file)
@@ -34,7 +34,7 @@ NCURSES_WANT_STATIC=--disable-static
 endif
 
 $(DL_DIR)/$(NCURSES_SOURCE):
-       $(WGET) -P $(DL_DIR) $(NCURSES_SITE)/$(NCURSES_SOURCE)
+       $(call DOWNLOAD,$(NCURSES_SITE),$(NCURSES_SOURCE))
 
 $(NCURSES_DIR)/.patched: $(DL_DIR)/$(NCURSES_SOURCE)
        $(NCURSES_CAT) $(DL_DIR)/$(NCURSES_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 2db10e88ee31e526780a7b885e3647f5f143ba08..575724c70bbf2f81dda15b4d1597ecd99f3bdefe 100644 (file)
@@ -12,7 +12,7 @@ NETKITBASE_BINARY:=inetd/inetd
 NETKITBASE_TARGET_BINARY:=usr/sbin/inetd
 
 $(DL_DIR)/$(NETKITBASE_SOURCE):
-        $(WGET) -P $(DL_DIR) $(NETKITBASE_SITE)/$(NETKITBASE_SOURCE)
+        $(call DOWNLOAD,$(NETKITBASE_SITE),$(NETKITBASE_SOURCE))
 
 netkitbase-source: $(DL_DIR)/$(NETKITBASE_SOURCE)
 
index aa3ffcfe3b1eab68d698e8ec9dd5aa70f44e65ce..629d320492c15ff8d15d8f4e68b16e2de5bdc8ee 100644 (file)
@@ -12,7 +12,7 @@ NETKITTELNET_BINARY:=telnetd/telnetd
 NETKITTELNET_TARGET_BINARY:=usr/sbin/telnetd
 
 $(DL_DIR)/$(NETKITTELNET_SOURCE):
-        $(WGET) -P $(DL_DIR) $(NETKITTELNET_SITE)/$(NETKITTELNET_SOURCE)
+        $(call DOWNLOAD,$(NETKITTELNET_SITE),$(NETKITTELNET_SOURCE))
 
 netkittelnet-source: $(DL_DIR)/$(NETKITTELNET_SOURCE)
 
index 579d6a68042d09db529f2cca012b2954f369e77b..99d40f55bf97db169b20f869de844a6c8aee1206 100644 (file)
@@ -12,7 +12,7 @@ NETPLUG_BINARY:=netplugd
 NETPLUG_TARGET_BINARY:=sbin/netplugd
 
 $(DL_DIR)/$(NETPLUG_SOURCE):
-       $(WGET) -P $(DL_DIR) $(NETPLUG_SITE)/$(NETPLUG_SOURCE)
+       $(call DOWNLOAD,$(NETPLUG_SITE),$(NETPLUG_SOURCE))
 
 netplug-source: $(DL_DIR)/$(NETPLUG_SOURCE)
 
index b7b2b140153846212f43919ff6973de061b60acf..2af8e0c7d8bdc8e0e40703e10c57c8dfa150eb7c 100644 (file)
@@ -17,7 +17,7 @@ NETSNMP_WO_TRANSPORT+= UDPIPv6 TCPIPv6
 endif
 
 $(DL_DIR)/$(NETSNMP_SOURCE):
-       $(WGET) -P $(DL_DIR) $(NETSNMP_SITE)/$(NETSNMP_SOURCE)
+       $(call DOWNLOAD,$(NETSNMP_SITE),$(NETSNMP_SOURCE))
 
 $(NETSNMP_DIR)/.unpacked: $(DL_DIR)/$(NETSNMP_SOURCE)
        $(ZCAT) $(DL_DIR)/$(NETSNMP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index baa780bc6bf4bd61ddb8b77a2bd3d32c1ea35771..f754090cf5ae0687e913fe841a9e168ec2dde5aa 100644 (file)
@@ -11,7 +11,7 @@ NEWT_VERSION=0.51.0
 NEWT_CFLAGS=-Os -g -fPIC
 
 $(DL_DIR)/$(NEWT_SOURCE):
-       $(WGET) -P $(DL_DIR) $(NEWT_SITE)/$(NEWT_SOURCE)
+       $(call DOWNLOAD,$(NEWT_SITE),$(NEWT_SOURCE))
 
 $(NEWT_DIR)/.source: $(DL_DIR)/$(NEWT_SOURCE)
        $(NEWT_CAT) $(DL_DIR)/$(NEWT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 884f51de0f0b0903aec0e26d6371c1d3cd3943c6..f463de1108a53056a7a2dba4c0c22308075b43d8 100644 (file)
@@ -19,7 +19,7 @@ BR2_NFS_UTILS_CFLAGS+=-DUTS_RELEASE='\"$(LINUX_HEADERS_VERSION)\"'
 
 
 $(DL_DIR)/$(NFS_UTILS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(NFS_UTILS_SITE)/$(NFS_UTILS_SOURCE)
+        $(call DOWNLOAD,$(NFS_UTILS_SITE),$(NFS_UTILS_SOURCE))
 
 nfs-utils-source: $(DL_DIR)/$(NFS_UTILS_SOURCE)
 
index b23b9581825ee203a4f6231144025d0d6036f615..1e78feeccf1a6c435a5093709042e32886fc15ce 100644 (file)
@@ -12,7 +12,7 @@ NTFS-3G_BINARY:=ntfs-3g
 
 http://www.ntfs-3g.org/ntfs-3g-1.5130.tgz
 $(DL_DIR)/$(NTFS-3G_SOURCE):
-       $(WGET) -P $(DL_DIR) $(NTFS-3G_SITE)/$(NTFS-3G_SOURCE)
+       $(call DOWNLOAD,$(NTFS-3G_SITE),$(NTFS-3G_SOURCE))
 
 $(NTFS-3G_DIR)/.source: $(DL_DIR)/$(NTFS-3G_SOURCE)
        $(ZCAT) $(DL_DIR)/$(NTFS-3G_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 8aed9eefb368db9214e9b4fead0822866bb4c8ed..0b051e9a82c31121e355b55eed8ac5b6895e5e72 100644 (file)
@@ -12,7 +12,7 @@ NTP_BINARY:=ntpdate/ntpdate
 NTP_TARGET_BINARY:=usr/bin/ntpdate
 
 $(DL_DIR)/$(NTP_SOURCE):
-       $(WGET) -P $(DL_DIR) $(NTP_SITE)/$(NTP_SOURCE)
+       $(call DOWNLOAD,$(NTP_SITE),$(NTP_SOURCE))
 
 ntp-source: $(DL_DIR)/$(NTP_SOURCE)
 
index 264dc5a0883ac389d34ca55827663030371121e9..fffc7c1197b6f8f5d06102cd3fa09445e6700079 100644 (file)
@@ -18,7 +18,7 @@ OLSR_PLUGINS=dot_draw dyn_gw secure
 OLSR_TARGET_PLUGIN=usr/lib/
 
 $(DL_DIR)/$(OLSR_SOURCE):
-       $(WGET) -P $(DL_DIR) $(OLSR_SITE)/$(OLSR_SOURCE)
+       $(call DOWNLOAD,$(OLSR_SITE),$(OLSR_SOURCE))
 
 olsr-source: $(DL_DIR)/$(OLSR_SOURCE)
 
index 6773cee8c8b53804bdefda89935aae6046dd46d5..bba952bdac0ebadae0cd1fbaf9d5144d2f3d792f 100644 (file)
@@ -12,7 +12,7 @@ OPENMOTIF_DIR:=$(BUILD_DIR)/openmotif-$(OPENMOTIF_VERSION)
 OPENMOTIF_HOST_DIR:=$(BUILD_DIR)/openmotif-$(OPENMOTIF_VERSION)-host
 
 $(DL_DIR)/$(OPENMOTIF_SOURCE):
-        $(WGET) -P $(DL_DIR) $(OPENMOTIF_SITE)/$(OPENMOTIF_SOURCE)
+        $(call DOWNLOAD,$(OPENMOTIF_SITE),$(OPENMOTIF_SOURCE))
 
 openmotif-source: $(DL_DIR)/$(OPENMOTIF_SOURCE)
 
index 2821d8921a338f92839e91132a08c8b32c46dacf..da03ca0f644e6df2b7c77df3d3c18939b8df0e79 100644 (file)
@@ -12,7 +12,7 @@ OPENNTPD_BINARY:=ntpd
 OPENNTPD_TARGET_BINARY:=usr/sbin/ntpd
 
 $(DL_DIR)/$(OPENNTPD_SOURCE):
-       $(WGET) -P $(DL_DIR) $(OPENNTPD_SITE)/$(OPENNTPD_SOURCE)
+       $(call DOWNLOAD,$(OPENNTPD_SITE),$(OPENNTPD_SOURCE))
 
 $(OPENNTPD_DIR)/.source: $(DL_DIR)/$(OPENNTPD_SOURCE)
        $(ZCAT) $(DL_DIR)/$(OPENNTPD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 0429d9eacd20417d0c9ccd276e96002028a75fc5..c7c3981e9e6e9f7ac0c2f3d15308aaccb8aef873 100644 (file)
@@ -19,7 +19,7 @@ OPENSWAN_CFLAGS=-UDEBUG -DNO_DEBUG -ULEAK_DETECTIVE
 endif
 
 $(DL_DIR)/$(OPENSWAN_SOURCE):
-        $(WGET) -P $(DL_DIR) $(OPENSWAN_SITE)/$(OPENSWAN_SOURCE)
+        $(call DOWNLOAD,$(OPENSWAN_SITE),$(OPENSWAN_SOURCE))
 
 openswan-source: $(DL_DIR)/$(OPENSWAN_SOURCE)
 
index 4603d2de59ce85cd771c4411fbdc0208e6e4b35f..e043b60c4d6de9ce562bf61eed86766d5caab64f 100644 (file)
@@ -24,7 +24,7 @@ THREAD_MODEL=--enable-pthread
 endif
 
 $(DL_DIR)/$(OPENVPN_SOURCE):
-        $(WGET) -P $(DL_DIR) $(OPENVPN_SITE)/$(OPENVPN_SOURCE)
+        $(call DOWNLOAD,$(OPENVPN_SITE),$(OPENVPN_SOURCE))
 
 openvpn-source: $(DL_DIR)/$(OPENVPN_SOURCE)
 
index 528eefc0650a0a23c9e7dc0a7b90d09c1e24c2f5..b333b080a010aa6dfea92b991024f6248f51de45 100644 (file)
@@ -12,7 +12,7 @@ GNUPATCH_BINARY:=patch
 GNUPATCH_TARGET_BINARY:=usr/bin/patch
 
 $(DL_DIR)/$(GNUPATCH_SOURCE):
-        $(WGET) -P $(DL_DIR) $(GNUPATCH_SITE)/$(GNUPATCH_SOURCE)
+        $(call DOWNLOAD,$(GNUPATCH_SITE),$(GNUPATCH_SOURCE))
 
 patch-source: $(DL_DIR)/$(GNUPATCH_SOURCE)
 
index 8d2ad67aec19a7fead4446453eeccb72dab30ca6..2a7fe88fdc05df83df0f9b0d92cc99697fded25e 100644 (file)
@@ -25,10 +25,10 @@ PCIIDS_COMPRESSOR=cat
 endif
 
 $(DL_DIR)/$(PCIUTILS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(PCIUTILS_SITE)/$(PCIUTILS_SOURCE)
+        $(call DOWNLOAD,$(PCIUTILS_SITE),$(PCIUTILS_SOURCE))
 
 $(DL_DIR)/$(PCIIDS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(PCIIDS_SITE)/$(PCIIDS_SOURCE)
+       $(call DOWNLOAD,$(PCIIDS_SITE),$(PCIIDS_SOURCE))
 
 $(PCIUTILS_DIR)/.unpacked: $(DL_DIR)/$(PCIUTILS_SOURCE) $(DL_DIR)/$(PCIIDS_SOURCE)
        $(PCIUTILS_CAT) $(DL_DIR)/$(PCIUTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 1e42a27515961864e45825211f7244c80694c2d7..281f0ba8a37c1b6b8a010232b70a0a03b19ba855 100644 (file)
@@ -27,7 +27,7 @@ PCMCIA_DIR:=$(BUILD_DIR)/pcmcia-cs-3.2.7
 PCMCIA_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(PCMCIA_SOURCE):
-       $(WGET) -P $(DL_DIR) $(PCMCIA_SITE)/$(PCMCIA_SOURCE)
+       $(call DOWNLOAD,$(PCMCIA_SITE),$(PCMCIA_SOURCE))
 
 pcmcia-source: $(DL_DIR)/$(PCMCIA_SOURCE)
 
index 77a6516fe0c6ac377ad0470afa9762ba954213b2..365edec4a1e9f9f3a4da6e221ee8dd3dbcf4537c 100644 (file)
@@ -126,7 +126,7 @@ endif
 endif
 
 $(DL_DIR)/$(PHP_SOURCE):
-        $(WGET) -P $(DL_DIR) $(PHP_SITE)
+        $(call DOWNLOAD,$(PHP_SITE))
 
 php-source: $(DL_DIR)/$(PHP_SOURCE)
 
index da7702450565c8e9477eea914ba729a0ab338d99..19148f0919590f7bd13a9692c348266b5bf81b3c 100644 (file)
@@ -12,7 +12,7 @@ PKGCONFIG_BINARY:=pkg-config
 PKGCONFIG_TARGET_BINARY:=usr/bin/pkg-config
 
 $(DL_DIR)/$(PKGCONFIG_SOURCE):
-        $(WGET) -P $(DL_DIR) $(PKGCONFIG_SITE)/$(PKGCONFIG_SOURCE)
+        $(call DOWNLOAD,$(PKGCONFIG_SITE),$(PKGCONFIG_SOURCE))
 
 pkgconfig-source: $(DL_DIR)/$(PKGCONFIG_SOURCE)
 
index ec1452e6014a7555538046db9554846199ba6bf9..a4d6b9d89fcb56f08281f0a13f5ae86bb00f1d82 100644 (file)
@@ -51,10 +51,10 @@ ifeq ($(PORTAGE_ARCH),)
 endif
 
 $(DL_DIR)/$(PORTAGE_SOURCE):
-       $(WGET) -P $(DL_DIR) $(PORTAGE_SITE)/$(PORTAGE_SOURCE)
+       $(call DOWNLOAD,$(PORTAGE_SITE),$(PORTAGE_SOURCE))
 
 $(DL_DIR)/$(SANDBOX_SOURCE):
-       $(WGET) -P $(DL_DIR) $(SANDBOX_SITE)/$(SANDBOX_SOURCE)
+       $(call DOWNLOAD,$(SANDBOX_SITE),$(SANDBOX_SOURCE))
 
 portage-source: $(DL_DIR)/$(PORTAGE_SOURCE)
 sandbox-source: $(DL_DIR)/$(SANDBOX_SOURCE)
@@ -65,7 +65,7 @@ $(PORTAGE_DOWNLOAD_DIR)/.unpacked: $(DL_DIR)/$(PORTAGE_SOURCE)
 
 ifeq ($(PORTAGE_PATCH_APPLY),y)
 $(DL_DIR)/$(PORTAGE_PATCH):
-       $(WGET) -P $(DL_DIR) $(PORTAGE_SITE)/$(PORTAGE_PATCH)
+       $(call DOWNLOAD,$(PORTAGE_SITE),$(PORTAGE_PATCH))
 
 $(PORTAGE_DIR)/.patched: $(PORTAGE_DOWNLOAD_DIR)/.unpacked $(DL_DIR)/$(PORTAGE_PATCH)
        mv -f $(BUILD_DIR)/portage-$(PORTAGE_DOWNLOAD_VERSION) $(PORTAGE_DIR)
index 5ce931672ed3b1e31a980774bccff68d513f1889..94d9c022d168dfb67f00c5d1cd2573d9fb88b339 100644 (file)
@@ -12,7 +12,7 @@ PORTMAP_BINARY:=portmap
 PORTMAP_TARGET_BINARY:=sbin/portmap
 
 $(DL_DIR)/$(PORTMAP_SOURCE):
-       $(WGET) -P $(DL_DIR) $(PORTMAP_SITE)/$(PORTMAP_SOURCE)
+       $(call DOWNLOAD,$(PORTMAP_SITE),$(PORTMAP_SOURCE))
 
 portmap-source: $(DL_DIR)/$(PORTMAP_SOURCE)
 
index c428363ff03d56f7ccf013a90de0a96674b56e5a..abe26649d5327fe22b7ece5ab779fd8d43304536 100644 (file)
@@ -13,7 +13,7 @@ PPPD_TARGET_BINARY:=usr/sbin/pppd
 
 
 $(DL_DIR)/$(PPPD_SOURCE):
-        $(WGET) -P $(DL_DIR) $(PPPD_SITE)/$(PPPD_SOURCE)
+        $(call DOWNLOAD,$(PPPD_SITE),$(PPPD_SOURCE))
 
 pppd-source: $(DL_DIR)/$(PPPD_SOURCE)
 
index 78dd25afa974f947717ce9980d0ebe17a222be51..5b1b1f3217dccf8fb086d2293e4700aecb834658 100644 (file)
@@ -13,12 +13,12 @@ PPTP_LINUX_BINARY:=pptp
 PPTP_LINUX_TARGET_BINARY:=usr/sbin/pptp
 
 $(DL_DIR)/$(PPTP_LINUX_SOURCE):
-       $(WGET) -P $(DL_DIR) $(PPTP_LINUX_SITE)/$(PPTP_LINUX_SOURCE)
+       $(call DOWNLOAD,$(PPTP_LINUX_SITE),$(PPTP_LINUX_SOURCE))
 
 ifneq ($(PPTP_LINUX_PATCH),)
 PPTP_LINUX_PATCH_FILE:=$(DL_DIR)/$(PPTP_LINUX_PATCH)
 $(PPTP_LINUX_PATCH_FILE):
-       $(WGET) -P $(DL_DIR) $(PPTP_LINUX_SITE)/$(PPTP_LINUX_PATCH)
+       $(call DOWNLOAD,$(PPTP_LINUX_SITE),$(PPTP_LINUX_PATCH))
 endif
 
 $(PPTP_LINUX_DIR)/.unpacked: $(DL_DIR)/$(PPTP_LINUX_SOURCE) $(PPTP_LINUX_PATCH_FILE)
index fe8a55fdbe26fa23bbe6140061bdceb46e9aa7f2..86ca30e48168fe7cc7a7fb030a0f3d2362ae129c 100644 (file)
@@ -11,7 +11,7 @@ PROCPS_BINARY:=ps/ps
 PROCPS_TARGET_BINARY:=usr/bin/vmstat
 
 $(DL_DIR)/$(PROCPS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(PROCPS_SITE)/$(PROCPS_SOURCE)
+       $(call DOWNLOAD,$(PROCPS_SITE),$(PROCPS_SOURCE))
 
 $(PROCPS_DIR)/.source: $(DL_DIR)/$(PROCPS_SOURCE)
        $(ZCAT) $(DL_DIR)/$(PROCPS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index cdae13621bf8de5466dafec1d4c28b2e4a59f56c..3773a621da742340a755398b57aefd106c609c45 100644 (file)
@@ -16,7 +16,7 @@ ENABLE_IPV6:=--enable-ipv6
 endif
 
 $(DL_DIR)/$(PROFTPD_SOURCE):
-        $(WGET) -P $(DL_DIR) $(PROFTPD_SITE)/$(PROFTPD_SOURCE)
+        $(call DOWNLOAD,$(PROFTPD_SITE),$(PROFTPD_SOURCE))
 
 proftpd-source: $(DL_DIR)/$(PROFTPD_SOURCE)
 
index 9bbab35036a7f4a377405d9753193f0ab98b8b14..d775cce3f2bab60bc404c4d58bff12697fcd4a63 100644 (file)
@@ -69,7 +69,7 @@ BR2_PYTHON_DISABLED_MODULES += unicodedata
 endif
 
 $(DL_DIR)/$(PYTHON_SOURCE):
-        $(WGET) -P $(DL_DIR) $(PYTHON_SITE)/$(PYTHON_SOURCE)
+        $(call DOWNLOAD,$(PYTHON_SITE),$(PYTHON_SOURCE))
 
 python-source: $(DL_DIR)/$(PYTHON_SOURCE)
 
index 0921443908ca0ca2e18ec4dc7aefbf97d15c4ba1..6b61b07b55c10482a19f7d7c81773a0fea3a9746 100644 (file)
@@ -100,11 +100,11 @@ QTE_QTOPIA_CONFIGURE:=$(QTE_QTOPIA_CONFIGURE) -L $(E2FSPROGS_DIR)/lib -I $(E2FSP
 
 ifneq ($(BR2_QTE_C_QTE_VERSION),$(BR2_QTE_C_QT3_VERSION))
 $(DL_DIR)/$(QTE_QT3_SOURCE):
-       $(WGET) -P $(DL_DIR) $(QTE_SITE)/$(@F)
+       $(call DOWNLOAD,$(QTE_SITE),$(@F))
 endif
 
 $(DL_DIR)/$(QTE_QTE_SOURCE) $(DL_DIR)/$(QTE_QVFB_SOURCE) $(DL_DIR)/$(QTE_QTOPIA_SOURCE):
-       $(WGET) -P $(DL_DIR) $(QTE_SITE)/$(@F)
+       $(call DOWNLOAD,$(QTE_SITE),$(@F))
 
 $(QTE_TMAKE_DIR)/.unpacked: $(DL_DIR)/$(QTE_TMAKE_SOURCE)
        $(QTE_CAT) $(DL_DIR)/$(QTE_TMAKE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 8c3e487b59d8d5f8336e090ef2b786f55c108843..fd7cb8b1db58bce7e0cd6ad95a5af7bea3b0a9f6 100644 (file)
@@ -292,7 +292,7 @@ QTOPIA4_QMAKE_CONF:=$(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA
 QTOPIA4_QMAKE:=$(STAGING_DIR)/usr/bin/qmake -spec qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++
 
 $(DL_DIR)/$(QTOPIA4_SOURCE):
-       $(WGET) -P $(DL_DIR) $(QTOPIA4_SITE)/$(QTOPIA4_SOURCE)
+       $(call DOWNLOAD,$(QTOPIA4_SITE),$(QTOPIA4_SOURCE))
 
 qtopia4-source: $(DL_DIR)/$(QTOPIA4_SOURCE)
 
index 0103d6b2b8a422dba4020f5f592f6c364936b7d1..2473bcf3e1ffda000a34645bd6ac6e8a5aa660b2 100644 (file)
@@ -115,12 +115,12 @@ QUAGGA_CONFIGURE+=$(subst ",,$(BR2_PACKAGE_QUAGGA_CONFIGURE))
 # ")
 
 $(DL_DIR)/$(QUAGGA_SOURCE):
-       $(WGET) -P $(DL_DIR) $(QUAGGA_SITE)/$(QUAGGA_SOURCE)
+       $(call DOWNLOAD,$(QUAGGA_SITE),$(QUAGGA_SOURCE))
 
 ifneq ($(QUAGGA_PATCH),)
 QUAGGA_PATCH_FILE=$(DL_DIR)/$(QUAGGA_PATCH)
 $(DL_DIR)/$(QUAGGA_PATCH):
-       $(WGET) -P $(DL_DIR) $(QUAGGA_SITE)/$(QUAGGA_PATCH)
+       $(call DOWNLOAD,$(QUAGGA_SITE),$(QUAGGA_PATCH))
 endif
 quagga-source: $(DL_DIR)/$(QUAGGA_SOURCE) $(QUAGGA_PATCH_FILE)
 
index d8a1cf931ebe24216e764841a3918a23fe5764f1..5cddd1b3caf0b14b2979ecdec672157225fc83dd 100644 (file)
@@ -12,7 +12,7 @@ RAIDTOOLS2_BINARY:=mkraid
 RAIDTOOLS2_TARGET_BINARY:=sbin/mkraid
 
 $(DL_DIR)/$(RAIDTOOLS2_SOURCE):
-       $(WGET) -P $(DL_DIR) $(RAIDTOOLS2_SITE)/$(RAIDTOOLS2_SOURCE)
+       $(call DOWNLOAD,$(RAIDTOOLS2_SITE),$(RAIDTOOLS2_SOURCE))
 
 raidtools2-source: $(DL_DIR)/$(RAIDTOOLS2_SOURCE)
 
index 781658eecd12ac5afe1eee6a9fc6d2fb719364ac..63be0b8b587bf1b437ca467b289b1775a93798d0 100644 (file)
@@ -11,7 +11,7 @@ RDESKTOP_DIR=$(BUILD_DIR)/rdesktop-$(RDESKTOP_VERSION)
 RDESKTOP_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(RDESKTOP_SOURCE):
-       $(WGET) -P $(DL_DIR) $(RDESKTOP_SITE)/$(RDESKTOP_SOURCE)
+       $(call DOWNLOAD,$(RDESKTOP_SITE),$(RDESKTOP_SOURCE))
 
 $(RDESKTOP_DIR)/.unpacked: $(DL_DIR)/$(RDESKTOP_SOURCE)
        $(RDESKTOP_CAT) $(DL_DIR)/$(RDESKTOP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 635d7594423c99ebcf3ba4fcbe67641763ba5d60..612275c33117aac1c7fcf82ad1280ab9fc00e5ae 100644 (file)
@@ -14,7 +14,7 @@ READLINE_TARGET_BINARY:=usr/lib/$(READLINE_BINARY)
 READLINE_TARGET_SHARED_BINARY:=usr/lib/$(READLINE_SHARED_BINARY)
 
 $(DL_DIR)/$(READLINE_SOURCE):
-       $(WGET) -P $(DL_DIR) $(READLINE_SITE)/$(READLINE_SOURCE)
+       $(call DOWNLOAD,$(READLINE_SITE),$(READLINE_SOURCE))
 
 readline-source: $(DL_DIR)/$(READLINE_SOURCE)
 
index b788ebd06d79e3a8ac2e30d8f65217dd9fb5a91c..2ca463e56931a1d733cd42c7deb9f5f35af8cdbd 100644 (file)
@@ -14,12 +14,12 @@ RP_PPPOE_BINARY:=pppoe
 RP_PPPOE_TARGET_BINARY:=usr/sbin/pppoe
 
 $(DL_DIR)/$(RP_PPPOE_SOURCE):
-       $(WGET) -P $(DL_DIR) $(RP_PPPOE_SITE)/$(RP_PPPOE_SOURCE)
+       $(call DOWNLOAD,$(RP_PPPOE_SITE),$(RP_PPPOE_SOURCE))
 
 ifneq ($(RP_PPPOE_PATCH),)
 RP_PPPOE_PATCH_FILE:=$(DL_DIR)/$(RP_PPPOE_PATCH)
 $(RP_PPPOE_PATCH_FILE):
-       $(WGET) -P $(DL_DIR) $(RP_PPPOE_SITE)/$(RP_PPPOE_PATCH)
+       $(call DOWNLOAD,$(RP_PPPOE_SITE),$(RP_PPPOE_PATCH))
 endif
 
 $(RP_PPPOE_TOPDIR)/.unpacked: $(DL_DIR)/$(RP_PPPOE_SOURCE) $(RP_PPPOE_PATCH_FILE)
index d3a058d4d3654fa6d01fafe0a489d8fab3bcd724..c7dc31fc3d136db28be01b4e8b14411b7e9197f5 100644 (file)
@@ -12,7 +12,7 @@ RUBY_BINARY:=ruby
 RUBY_TARGET_BINARY:=usr/bin/ruby
 
 $(DL_DIR)/$(RUBY_SOURCE):
-        $(WGET) -P $(DL_DIR) $(RUBY_SITE)/$(RUBY_SOURCE)
+        $(call DOWNLOAD,$(RUBY_SITE),$(RUBY_SOURCE))
 
 ruby-source: $(DL_DIR)/$(RUBY_SOURCE)
 
index e28d7dfc7a79b1484dabc40f6a480474de50bcd9..1a0a82636104655855fb97af82a5c232b3fef044 100644 (file)
@@ -28,7 +28,7 @@ RXVT_DIR:=$(BUILD_DIR)/rxvt-$(RXVT_VERSION)
 RXVT_BINARY:=$(RXVT_DIR)/src/rxvt
 
 $(DL_DIR)/$(RXVT_SOURCE):
-        $(WGET) -P $(DL_DIR) $(RXVT_SITE)/$(RXVT_SOURCE)
+        $(call DOWNLOAD,$(RXVT_SITE),$(RXVT_SOURCE))
 
 rxvt-source: $(DL_DIR)/$(RXVT_SOURCE)
 
index d277d235451a042139a6f42937671da9227bc73d..83e078be154d8251246ece0cdd062834dcb790a1 100644 (file)
@@ -12,7 +12,7 @@ SAMBA_BINARY:=bin/smbd
 SAMBA_TARGET_BINARY:=usr/sbin/smbd
 
 $(DL_DIR)/$(SAMBA_SOURCE):
-       $(WGET) -P $(DL_DIR) $(SAMBA_SITE)/$(SAMBA_SOURCE)
+       $(call DOWNLOAD,$(SAMBA_SITE),$(SAMBA_SOURCE))
 
 $(SAMBA_DIR)/.unpacked: $(DL_DIR)/$(SAMBA_SOURCE)
        $(SAMBA_CAT) $(DL_DIR)/$(SAMBA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 6e8f2dd6141ecb18f3695971ed24b3450999c7ba..0ab02100bb98818856fbabeb47daab2c7ed90fe8 100644 (file)
@@ -39,7 +39,7 @@ SDL_X11=--enable-video-x11=no
 endif
 
 $(DL_DIR)/$(SDL_SOURCE):
-       $(WGET) -P $(DL_DIR) $(SDL_SITE)/$(SDL_SOURCE)
+       $(call DOWNLOAD,$(SDL_SITE),$(SDL_SOURCE))
 
 sdl-source: $(DL_DIR)/$(SDL_SOURCE)
 
index 76189e815031b6ac98dcab8d51cbf7f809aa741f..ab8b591810adafcd1fe8499a7ec34c688593738b 100644 (file)
@@ -10,7 +10,7 @@ SDL_MIXER_CAT:=$(ZCAT)
 SDL_MIXER_DIR:=$(BUILD_DIR)/SDL_mixer-$(SDL_MIXER_VERSION)
 
 $(DL_DIR)/$(SDL_MIXER_SOURCE):
-       $(WGET) -P $(DL_DIR) $(SDL_MIXER_SITE)/$(SDL_MIXER_SOURCE)
+       $(call DOWNLOAD,$(SDL_MIXER_SITE),$(SDL_MIXER_SOURCE))
 
 sdl_mixer-source: $(DL_DIR)/$(SDL_MIXER_SOURCE)
 
index a0b8579cb340a606cf8f7fa1e9f584e364d56f6c..45d63ca514f74bcd6949f589348b6e40669688fc 100644 (file)
@@ -10,7 +10,7 @@ SDL_TTF_CAT:=$(ZCAT)
 SDL_TTF_DIR:=$(BUILD_DIR)/SDL_ttf-$(SDL_TTF_VERSION)
 
 $(DL_DIR)/$(SDL_TTF_SOURCE):
-       $(WGET) -P $(DL_DIR) $(SDL_TTF_SITE)/$(SDL_TTF_SOURCE)
+       $(call DOWNLOAD,$(SDL_TTF_SITE),$(SDL_TTF_SOURCE))
 
 sdl_ttf-source: $(DL_DIR)/$(SDL_TTF_SOURCE)
 
index 823d037a9fab46236c8fd28c32834a7509cac07c..9caefed4930955f42567e79fc373b1664f8ccb53 100644 (file)
@@ -22,7 +22,7 @@ HOST_SED_IF_ANY=$(shell toolchain/dependencies/check-host-sed.sh)
 
 $(DL_DIR)/$(SED_SOURCE):
        mkdir -p $(DL_DIR)
-       $(WGET) -P $(DL_DIR) $(SED_SITE)/$(SED_SOURCE)
+       $(call DOWNLOAD,$(SED_SITE),$(SED_SOURCE))
 
 sed-source: $(DL_DIR)/$(SED_SOURCE)
 
index 19bed93b68c9008cca5e61b33ce161763306f03e..394ae46375a26ee3868a0d125a0acdebc33dfe49 100644 (file)
@@ -13,12 +13,12 @@ SETSERIAL_BINARY:=setserial
 SETSERIAL_TARGET_BINARY:=usr/bin/setserial
 
 $(DL_DIR)/$(SETSERIAL_SOURCE):
-       $(WGET) -P $(DL_DIR) $(SETSERIAL_SITE)/$(SETSERIAL_SOURCE)
+       $(call DOWNLOAD,$(SETSERIAL_SITE),$(SETSERIAL_SOURCE))
 
 ifneq ($(SETSERIAL_PATCH_FILE),)
 SETSERIAL_PATCH:=$(DL_DIR)/$(SETSERIAL_PATCH_FILE)
 $(SETSERIAL_PATCH):
-       $(WGET) -O $@ $(SETSERIAL_SITE)/$(SETSERIAL_PATCH_FILE)
+       $(WGET) -O $@ $(SETSERIAL_SITE),$(SETSERIAL_PATCH_FILE)
 else
 SETSERIAL_PATCH:=
 endif
index 691d11410a533eda55c3ad9d6fd021dcfea0adf3..e91d06a5c849f3f4424eef8d8c5a3c179c12be0e 100644 (file)
@@ -10,7 +10,7 @@ SFDISK_SITE:=http://www.uclibc.org/
 SFDISK_DIR=$(BUILD_DIR)/sfdisk$(SFDISK_VERSION)
 
 $(DL_DIR)/$(SFDISK_SOURCE):
-       $(WGET) -P $(DL_DIR) $(SFDISK_SITE)/$(SFDISK_SOURCE)
+       $(call DOWNLOAD,$(SFDISK_SITE),$(SFDISK_SOURCE))
 
 $(SFDISK_DIR)/.patched: $(DL_DIR)/$(SFDISK_SOURCE)
        $(SFDISK_CAT) $(DL_DIR)/$(SFDISK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 3b7869557ce5fc71faf71e6264744a2e58c00d7b..e1f6c2872b9c9e3bbf45b66a194ae9bd4461774e 100644 (file)
@@ -10,7 +10,7 @@ SLANG_SITE:=http://www.uclibc.org/
 SLANG_DIR=$(BUILD_DIR)/slang-$(SLANG_VERSION)-mini
 
 $(DL_DIR)/$(SLANG_SOURCE):
-       $(WGET) -P $(DL_DIR) $(SLANG_SITE)/$(SLANG_SOURCE)
+       $(call DOWNLOAD,$(SLANG_SITE),$(SLANG_SOURCE))
 
 $(SLANG_DIR): $(DL_DIR)/$(SLANG_SOURCE)
        $(SLANG_CAT) $(DL_DIR)/$(SLANG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 6a936d1f2cae8b6bdd8b1cfc4372087c8ed76b69..bf2b1fe126c95946368d5842f30e2bb7303f386d 100644 (file)
@@ -14,7 +14,7 @@ SMARTMONTOOLS_TARGET_BINARY:=usr/sbin/smartctl
 SMARTMONTOOLS_TARGET_BINARY2:=usr/sbin/smartd
 
 $(DL_DIR)/$(SMARTMONTOOLS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(SMARTMONTOOLS_SITE)/$(SMARTMONTOOLS_SOURCE)
+        $(call DOWNLOAD,$(SMARTMONTOOLS_SITE),$(SMARTMONTOOLS_SOURCE))
 
 smartmontools-source: $(DL_DIR)/$(SMARTMONTOOLS_SOURCE)
 
index ebaea6b55699a02f6bb7c12a4f2049ce03edec1f..d45b306603533c0cdd36d83699802d0064d2abe9 100644 (file)
@@ -40,7 +40,7 @@ SOCAT_CONFIGURE_OPTS += sc_cv_sys_csize_shift=$(CSIZE_SHIFT)
 endif
 
 $(DL_DIR)/$(SOCAT_SOURCE):
-       $(WGET) -P $(DL_DIR) $(SOCAT_SITE)/$(SOCAT_SOURCE)
+       $(call DOWNLOAD,$(SOCAT_SITE),$(SOCAT_SOURCE))
 
 $(SOCAT_DIR)/.unpacked: $(DL_DIR)/$(SOCAT_SOURCE)
        $(SOCAT_CAT) $(DL_DIR)/$(SOCAT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 258c173acc0a505e8b5047690279ec26511ee335..779af0ef2dfaf2cd7e0f7bff7626fa27ec3f9339 100644 (file)
@@ -10,7 +10,7 @@ STUNNEL_CAT:=$(ZCAT)
 STUNNEL_DIR:=$(BUILD_DIR)/stunnel-$(STUNNEL_VERSION)
 
 $(DL_DIR)/$(STUNNEL_SOURCE):
-        $(WGET) -P $(DL_DIR) $(STUNNEL_SITE)/$(STUNNEL_SOURCE)
+        $(call DOWNLOAD,$(STUNNEL_SITE),$(STUNNEL_SOURCE))
 
 stunnel-source: $(DL_DIR)/$(STUNNEL_SOURCE)
 
index 2ac3625cb996288c701e5e07ac9adae08f51a9e6..0138373ca4e085af825780fd9341aa09b0fc8bf7 100644 (file)
@@ -17,7 +17,7 @@ SUDO_DIR:=$(BUILD_DIR)/sudo-$(SUDO_VERSION)
 SUDO_UNZIP:=$(ZCAT)
 
 $(DL_DIR)/$(SUDO_SOURCE):
-        $(WGET) -P $(DL_DIR) $(SUDO_SITE)/$(SUDO_SOURCE)
+        $(call DOWNLOAD,$(SUDO_SITE),$(SUDO_SOURCE))
 
 sudo-source: $(DL_DIR)/$(SUDO_SOURCE) $(SUDO_CONFIG_FILE)
 
index 2eddc321c3c9b816a9a933fd346d37a22bf0343e..d967db10aff11e2314684eba3078e00259860c86 100644 (file)
@@ -15,7 +15,7 @@ SYSKLOGD_KLOGD_TARGET_BINARY:=sbin/klogd
 SYSKLOGD_TARGET_BINARY:=$(SYSKLOGD_KLOGD_TARGET_BINARY)
 
 $(DL_DIR)/$(SYSKLOGD_SOURCE):
-        $(WGET) -P $(DL_DIR) $(SYSKLOGD_SITE)/$(SYSKLOGD_SOURCE)
+        $(call DOWNLOAD,$(SYSKLOGD_SITE),$(SYSKLOGD_SOURCE))
 
 sysklogd-source: $(DL_DIR)/$(SYSKLOGD_SOURCE)
 
index 055206f5d408a95bda1d453de81ec2e010b50011..c3ded2dcb46a0e2441bc14a44584df4085def5e4 100644 (file)
@@ -12,7 +12,7 @@ SYSVINIT_BINARY:=src/init
 SYSVINIT_TARGET_BINARY:=sbin/init
 
 $(DL_DIR)/$(SYSVINIT_SOURCE):
-       $(WGET) -P $(DL_DIR) $(SYSVINIT_SITE)/$(SYSVINIT_SOURCE)
+       $(call DOWNLOAD,$(SYSVINIT_SITE),$(SYSVINIT_SOURCE))
 
 sysvinit-unpacked: $(SYSVINIT_DIR)/.unpacked
 $(SYSVINIT_DIR)/.unpacked: $(DL_DIR)/$(SYSVINIT_SOURCE)
index 1b3ff48358884385485dcb09e5a2c8d67fb609fa..640868c28e1401e1b947716d583a0a7d8d334327 100644 (file)
@@ -12,7 +12,7 @@ GNUTAR_BINARY:=src/tar
 GNUTAR_TARGET_BINARY:=bin/tar
 
 $(DL_DIR)/$(GNUTAR_SOURCE):
-        $(WGET) -P $(DL_DIR) $(GNUTAR_SITE)/$(GNUTAR_SOURCE)
+        $(call DOWNLOAD,$(GNUTAR_SITE),$(GNUTAR_SOURCE))
 
 tar-source: $(DL_DIR)/$(GNUTAR_SOURCE)
 
index bd046f533700ee502610b4dec472464b46d2f073..d5278aa6699901e282e2e5a47972a619ad6bab29 100644 (file)
@@ -9,7 +9,7 @@ TCL_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/tcl
 TCL_DIR:=$(BUILD_DIR)/tcl$(TCL_VERSION)
 
 $(DL_DIR)/$(TCL_SOURCE):
-       $(WGET) -P $(DL_DIR) $(TCL_SITE)/$(TCL_SOURCE)
+       $(call DOWNLOAD,$(TCL_SITE),$(TCL_SOURCE))
 
 $(TCL_DIR)/.source: $(DL_DIR)/$(TCL_SOURCE)
        $(ZCAT) $(DL_DIR)/$(TCL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index a7c22fb5b102feab5246f4d5d8e3d1995fda74c2..bb798bd5a648fb211ef517e1dcd0a556baf658db 100644 (file)
@@ -13,7 +13,7 @@ DHCPDUMP_SOURCE:=dhcpdump-$(DHCPDUMP_VERSION).tar.gz
 DHCPDUMP_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(DHCPDUMP_SOURCE):
-        $(WGET) -P $(DL_DIR) $(DHCPDUMP_SITE)/$(DHCPDUMP_SOURCE)
+        $(call DOWNLOAD,$(DHCPDUMP_SITE),$(DHCPDUMP_SOURCE))
 
 dhcpdump-source: $(DL_DIR)/$(DHCPDUMP_SOURCE)
 
index 011218163c8315dcc2cacdba657cc72bc8841809..8ced860bf2b56f57dcfd1a44d4014fcecea4dcab 100644 (file)
@@ -19,7 +19,7 @@ TCPDUMP_ENABLE_SMB:=--enable-smb
 endif
 
 $(DL_DIR)/$(TCPDUMP_SOURCE):
-        $(WGET) -P $(DL_DIR) $(TCPDUMP_SITE)/$(TCPDUMP_SOURCE)
+        $(call DOWNLOAD,$(TCPDUMP_SITE),$(TCPDUMP_SOURCE))
 
 tcpdump-source: $(DL_DIR)/$(TCPDUMP_SOURCE)
 
index c9dbedfd3c484f0f6acf794263f10754ae6304ad..621961c4f7e68c68ae392f1ac1b93b70bc37937f 100644 (file)
@@ -12,7 +12,7 @@ TFTP_HPA_BINARY:=tftpd/tftpd
 TFTP_HPA_TARGET_BINARY:=usr/sbin/in.tftpd
 
 $(DL_DIR)/$(TFTP_HPA_SOURCE):
-        $(WGET) -P $(DL_DIR) $(TFTP_HPA_SITE)/$(TFTP_HPA_SOURCE)
+        $(call DOWNLOAD,$(TFTP_HPA_SITE),$(TFTP_HPA_SOURCE))
 
 tftpd-source: $(DL_DIR)/$(TFTP_HPA_SOURCE)
 
index a4685c8bea61dfd8c6c13da24a0c00dc49dc28db..2d71703df72b573c83088a878b547a09d45b759c 100644 (file)
@@ -14,7 +14,7 @@ THTTPD_ROOT:=/var
 THTTPD_WEB_DIR:=$(THTTPD_ROOT)/www
 
 $(DL_DIR)/$(THTTPD_SOURCE):
-       $(WGET) -P $(DL_DIR) $(THTTPD_SITE)/$(THTTPD_SOURCE)
+       $(call DOWNLOAD,$(THTTPD_SITE),$(THTTPD_SOURCE))
 
 thttpd-source: $(DL_DIR)/$(THTTPD_SOURCE)
 
index e17b105075e11ea1ae0e2741bb6033a87d1e18a5..90274a7df8a20fb0229edb574663bcbca3dc8eb4 100644 (file)
@@ -12,7 +12,7 @@ TINYHTTPD_BINARY:=httpd
 TINYHTTPD_TARGET_BINARY:=usr/sbin/tinyhttpd
 
 $(DL_DIR)/$(TINYHTTPD_SOURCE):
-        $(WGET) -P $(DL_DIR) $(TINYHTTPD_SITE)/$(TINYHTTPD_SOURCE)
+        $(call DOWNLOAD,$(TINYHTTPD_SITE),$(TINYHTTPD_SOURCE))
 
 tinyhttpd-source: $(DL_DIR)/$(TINYHTTPD_SOURCE)
 
index 30b64d1ac248f1fae7141a230aa3e12a4f4ab114..ce847bfb504823ee99ef1689bd4821f3b99845c1 100644 (file)
@@ -20,7 +20,7 @@ endif
 TINYLOGIN_CAT:=$(BZCAT)
 
 $(DL_DIR)/$(TINYLOGIN_SOURCE):
-       $(WGET) -P $(DL_DIR) $(TINYLOGIN_SITE)/$(TINYLOGIN_SOURCE)
+       $(call DOWNLOAD,$(TINYLOGIN_SITE),$(TINYLOGIN_SOURCE))
 
 tinylogin-source: $(DL_DIR)/$(TINYLOGIN_SOURCE)
 
index 39a23dc7654ccbfb981784ec2e0388745e597905..2184210524ac94e9ed3a80d0cf816533a3d8c14b 100644 (file)
@@ -5,7 +5,7 @@ TN5250_SOURCE:=tn5250-$(TN5250_VERSION).tar.gz
 TN5250_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(TN5250_SOURCE):
-       $(WGET) -P $(DL_DIR) $(TN5250_SITE)/$(TN5250_SOURCE)
+       $(call DOWNLOAD,$(TN5250_SITE),$(TN5250_SOURCE))
 
 $(TN5250_DIR)/.dist: $(DL_DIR)/$(TN5250_SOURCE)
        $(TN5250_CAT) $(DL_DIR)/$(TN5250_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 69b132df918c8752fcce382363d751eeccbdfc31..5c7b22c9db43b073ca7b95f78bdfdf11655567c1 100644 (file)
@@ -10,7 +10,7 @@ TSLIB_CAT:=$(BZCAT)
 TSLIB_DIR:=$(BUILD_DIR)/tslib-$(TSLIB_VERSION)
 
 $(DL_DIR)/$(TSLIB_SOURCE):
-       $(WGET) -P $(DL_DIR) $(TSLIB_SITE)/$(TSLIB_SOURCE)
+       $(call DOWNLOAD,$(TSLIB_SITE),$(TSLIB_SOURCE))
 
 tslib-source: $(DL_DIR)/$(TSLIB_SOURCE)
 
index 45959502877e46f61fb8347e8b1ab80d0c76ef78..1c4fe6ff10f9b6955fdf2b4c77417a1ddb654a00 100644 (file)
@@ -10,7 +10,7 @@ TTCP_SOURCE=ttcp$(TTCP_VERSION).c
 TTCP_DIR=$(BUILD_DIR)/ttcp$(TTCP_VERSION)
 
 $(DL_DIR)/$(TTCP_SOURCE):
-        $(WGET) -P $(DL_DIR) $(TTCP_SOURCE_URL)/$(TTCP_SOURCE)
+        $(call DOWNLOAD,$(TTCP_SOURCE_URL),$(TTCP_SOURCE))
 
 $(TTCP_DIR)/.unpacked: $(DL_DIR)/$(TTCP_SOURCE)
        -mkdir $(TTCP_DIR)
index 0431e8faf0f847c3212e5e9cdabec6b7bad1708f..434ade234bd89c737d2b21d0ecd68426c47934bd 100644 (file)
@@ -25,7 +25,7 @@ endif
 UDEV_ROOT:=/dev
 
 $(DL_DIR)/$(UDEV_SOURCE):
-        $(WGET) -P $(DL_DIR) $(UDEV_SITE)/$(UDEV_SOURCE)
+        $(call DOWNLOAD,$(UDEV_SITE),$(UDEV_SOURCE))
 
 $(UDEV_DIR)/.unpacked: $(DL_DIR)/$(UDEV_SOURCE)
        $(UDEV_CAT) $(DL_DIR)/$(UDEV_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 8faf582172a8f5c03910f8c3b108190d2d530763..1af010087fc35714923f3f13bd02d51c9498b0c7 100644 (file)
@@ -26,7 +26,7 @@ UDHCP_SITE:=http://udhcp.busybox.net/downloads/
 UDHCP_DIR:=$(BUILD_DIR)/udhcp-$(UDHCP_VERSION)
 
 $(DL_DIR)/$(UDHCP_SOURCE):
-       $(WGET) -P $(DL_DIR) $(UDHCP_SITE)/$(UDHCP_SOURCE)
+       $(call DOWNLOAD,$(UDHCP_SITE),$(UDHCP_SOURCE))
 
 udhcp-source: $(DL_DIR)/$(UDHCP_SOURCE)
 
index b19f926e717ff2386bf0ec6043c0fdcaa4a42636..4981f51f63c50727ba972fac8adc202ea69ec4d7 100644 (file)
@@ -12,7 +12,7 @@ UDPCAST_DIR:=$(BUILD_DIR)/udpcast-$(UDPCAST_VERSION)
 BR2_UDPCAST_CFLAGS:=
 
 $(DL_DIR)/$(UDPCAST_SOURCE):
-        $(WGET) -P $(DL_DIR) $(UDPCAST_SITE)/$(UDPCAST_SOURCE)
+        $(call DOWNLOAD,$(UDPCAST_SITE),$(UDPCAST_SOURCE))
 
 udpcast-source: $(DL_DIR)/$(UDPCAST_SOURCE)
 
index 705b74507d99350dffd1a9154616bc4f8426bd8d..726abd22ae6bcd21f82071ddc5ec381ab5dd0588 100644 (file)
@@ -12,7 +12,7 @@ USBMOUNT_BINARY:=usbmount
 USBMOUNT_TARGET_BINARY:=sbin/usbmount
 
 $(DL_DIR)/$(USBMOUNT_SOURCE):
-        $(WGET) -P $(DL_DIR) $(USBMOUNT_SITE)/$(USBMOUNT_SOURCE)
+        $(call DOWNLOAD,$(USBMOUNT_SITE),$(USBMOUNT_SOURCE))
 
 usbmount-source: $(DL_DIR)/$(USBMOUNT_SOURCE)
 
index 497cb218daa2b490767f0ef746cf43df399d0f07..39393b56204e495c858d72a53f1018b6b703e6f9 100644 (file)
@@ -12,7 +12,7 @@ USBUTILS_BINARY:=lsusb
 USBUTILS_TARGET_BINARY:=usr/sbin/lsusb
 
 $(DL_DIR)/$(USBUTILS_SOURCE):
-       $(WGET) -P $(DL_DIR) $(USBUTILS_SITE)/$(USBUTILS_SOURCE)
+       $(call DOWNLOAD,$(USBUTILS_SITE),$(USBUTILS_SOURCE))
 
 usbutils-source: $(DL_DIR)/$(USBUTILS_SOURCE)
 
index 4cb0e71ede4591e6aef33841658c6a900910bfc2..cf8093afd084cca3d71f837a9e782d31635bd3f6 100644 (file)
@@ -12,7 +12,7 @@ UTIL-LINUX_BINARY:=$(UTIL-LINUX_DIR)/misc-utils/chkdupexe
 UTIL-LINUX_TARGET_BINARY:=$(TARGET_DIR)/usr/bin/chkdupexe
 
 $(DL_DIR)/$(UTIL-LINUX_SOURCE):
-       $(WGET) -P $(DL_DIR) $(UTIL-LINUX_SITE)/$(UTIL-LINUX_SOURCE)
+       $(call DOWNLOAD,$(UTIL-LINUX_SITE),$(UTIL-LINUX_SOURCE))
 
 $(UTIL-LINUX_DIR)/.unpacked: $(DL_DIR)/$(UTIL-LINUX_SOURCE)
        $(UTIL-LINUX_CAT) $(DL_DIR)/$(UTIL-LINUX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index d0640a40e1319a94f44fc79717292a31017cac64..a156c9b2adb2180c187749c72e387ec96adfe32b 100644 (file)
@@ -11,7 +11,7 @@ VALGRIND_SOURCE:=valgrind-$(VALGRIND_VERSION).tar.bz2
 VALGRIND_CAT:=$(BZCAT)
 
 $(DL_DIR)/$(VALGRIND_SOURCE):
-       $(WGET) -P $(DL_DIR) $(VALGRIND_SITE)/$(VALGRIND_SOURCE)
+       $(call DOWNLOAD,$(VALGRIND_SITE),$(VALGRIND_SOURCE))
 
 $(VALGRIND_DIR)/.unpacked: $(DL_DIR)/$(VALGRIND_SOURCE)
        $(VALGRIND_CAT) $(DL_DIR)/$(VALGRIND_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 93f7eec1c68c87ac916beecb3f95732f166e3b50..a94208f9986c5e566d2b08c61b1a9ad1d33ab8b8 100644 (file)
@@ -15,7 +15,7 @@ VPNC_TARGET_BINARY:=$(VPNC_DEST_DIR)/vpnc
 VPNC_TARGET_SCRIPT:=$(TARGET_DIR)/etc/vpnc/default.conf
 
 $(DL_DIR)/$(VPNC_SOURCE):
-       $(WGET) -P $(DL_DIR) $(VPNC_SITE)/$(VPNC_SOURCE)
+       $(call DOWNLOAD,$(VPNC_SITE),$(VPNC_SOURCE))
 
 $(VPNC_DIR)/.unpacked: $(DL_DIR)/$(VPNC_SOURCE)
        $(VPNC_CAT) $(DL_DIR)/$(VPNC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index c1cca563cc1bfdcb94c0adf77381804caa6eba07..f845aeddc71ca6ed62dba58244c291346957c3a3 100644 (file)
@@ -18,7 +18,7 @@ VSFTPD_LIBS:=-lcrypt
 endif
 
 $(DL_DIR)/$(VSFTPD_SOURCE):
-        $(WGET) -P $(DL_DIR) $(VSFTPD_SITE)/$(VSFTPD_SOURCE)
+        $(call DOWNLOAD,$(VSFTPD_SITE),$(VSFTPD_SOURCE))
 
 vsftpd-source: $(DL_DIR)/$(VSFTPD_SOURCE)
 
index bd7382086d524df019440ec0ca10044791744e14..152ab9943324ca7e748f1a1dbf8f09df3a0210e4 100644 (file)
@@ -16,7 +16,7 @@ VTUN_BINARY:=vtund
 VTUN_TARGET_BINARY:=usr/sbin/vtund
 
 $(DL_DIR)/$(VTUN_SOURCE):
-        $(WGET) -P $(DL_DIR) $(VTUN_SITE)/$(VTUN_SOURCE)
+        $(call DOWNLOAD,$(VTUN_SITE),$(VTUN_SOURCE))
 
 vtun-source: $(DL_DIR)/$(VTUN_SOURCE)
 
index 3c56c8e593d2a432fcf6fea31474eb9683639e4a..080d370ed333c24733103ebbe0b02f7721e3e704 100644 (file)
@@ -12,7 +12,7 @@ WGET_BINARY:=src/wget
 WGET_TARGET_BINARY:=bin/wget
 
 $(DL_DIR)/$(WGET_SOURCE):
-       $(WGET) -P $(DL_DIR) $(WGET_SITE)/$(WGET_SOURCE)
+       $(call DOWNLOAD,$(WGET_SITE),$(WGET_SOURCE))
 
 wget-source: $(DL_DIR)/$(WGET_SOURCE)
 
index deca74fb72326f05faee604dbe025c58af8dc3ac..b3f92b13a0412d84378fed69f87e41f4ed33cde1 100644 (file)
@@ -14,11 +14,11 @@ WIPE_BINARY:=wipe
 WIPE_TARGET_BINARY:=bin/wipe
 
 $(DL_DIR)/$(WIPE_SOURCE):
-        $(WGET) -P $(DL_DIR) $(WIPE_SITE)/$(WIPE_SOURCE)
+        $(call DOWNLOAD,$(WIPE_SITE),$(WIPE_SOURCE))
 
 ifneq ($(WIPE_PATCH),)
 $(DL_DIR)/$(WIPE_PATCH):
-        $(WGET) -P $(DL_DIR) $(WIPE_SITE)/$(WIPE_PATCH)
+        $(call DOWNLOAD,$(WIPE_SITE),$(WIPE_PATCH))
 endif
 
 wipe-source: $(DL_DIR)/$(WIPE_SOURCE) $(DL_DIR)/$(WIPE_PATCH)
index b8c3f69460b9154432e2fa2473d861c30301a627..b2cf2d9965f3d8c0cadb9f7abc1e97e86a231a5a 100644 (file)
@@ -16,7 +16,7 @@ WIRELESS_TOOLS_SOURCE:=wireless_tools.$(WIRELESS_TOOLS_VERSION)$(WIRELESS_TOOLS_
 WIRELESS_TOOLS_BUILD_DIR=$(BUILD_DIR)/wireless_tools.$(WIRELESS_TOOLS_VERSION)
 
 $(DL_DIR)/$(WIRELESS_TOOLS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(WIRELESS_TOOLS_SOURCE_URL)/$(WIRELESS_TOOLS_SOURCE)
+        $(call DOWNLOAD,$(WIRELESS_TOOLS_SOURCE_URL),$(WIRELESS_TOOLS_SOURCE))
 
 $(WIRELESS_TOOLS_BUILD_DIR)/.unpacked: $(DL_DIR)/$(WIRELESS_TOOLS_SOURCE)
        $(ZCAT) $(DL_DIR)/$(WIRELESS_TOOLS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index e87af1645bd9260a5499fd35ce188f78d63f1659..15895d29488a0feb84276c74d9b0395f207b36c3 100644 (file)
@@ -14,7 +14,7 @@ MESA_CONFIG_FILE=$(MESA3D_DIR)/configs/$(MESA_TARGET)
 MESA_DRIVERS=
 
 $(DL_DIR)/$(MESA3D_SOURCE):
-       $(WGET) -P $(DL_DIR) $(MESA3D_SITE)/$(MESA3D_SOURCE)
+       $(call DOWNLOAD,$(MESA3D_SITE),$(MESA3D_SOURCE))
 
 $(MESA3D_DIR)/.extracted: $(DL_DIR)/$(MESA3D_SOURCE)
        $(ZCAT) $(DL_DIR)/$(MESA3D_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 4921604424a8cb64828823cfafc3da1556881372..49a24cd53918e0b04205053c30a36a9e8758446f 100644 (file)
@@ -9,7 +9,7 @@ XAPP_XMAN_SITE:=http://xorg.freedesktop.org/releases/individual/app
 XAPP_XMAN_DIR:=$(BUILD_DIR)/xman-$(XAPP_XMAN_VERSION)
 
 $(DL_DIR)/$(XAPP_XMAN_SOURCE):
-       $(WGET) -P $(DL_DIR) $(XAPP_XMAN_SITE)/$(XAPP_XMAN_SOURCE)
+       $(call DOWNLOAD,$(XAPP_XMAN_SITE),$(XAPP_XMAN_SOURCE))
 
 $(XAPP_XMAN_DIR)/.extracted: $(DL_DIR)/$(XAPP_XMAN_SOURCE)
        $(BZCAT) $(DL_DIR)/$(XAPP_XMAN_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 111898c71149f8001cd066de15cb96f093d3f3ac..ccaec82aaf7a59160aba09a9560637fdba62834a 100644 (file)
@@ -9,7 +9,7 @@ XDATA_XCURSOR_THEMES_SITE:=http://xorg.freedesktop.org/releases/individual/data
 XDATA_XCURSOR_THEMES_DIR:=$(BUILD_DIR)/xcursor-themes-$(XDATA_XCURSOR_THEMES_VERSION)
 
 $(DL_DIR)/$(XDATA_XCURSOR_THEMES_SOURCE):
-       $(WGET) -P $(DL_DIR) $(XDATA_XCURSOR_THEMES_SITE)/$(XDATA_XCURSOR_THEMES_SOURCE)
+       $(call DOWNLOAD,$(XDATA_XCURSOR_THEMES_SITE),$(XDATA_XCURSOR_THEMES_SOURCE))
 
 $(XDATA_XCURSOR_THEMES_DIR)/.extracted: $(DL_DIR)/$(XDATA_XCURSOR_THEMES_SOURCE)
        $(BZCAT) $(DL_DIR)/$(XDATA_XCURSOR_THEMES_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
index 99b10618960789abb7884c866f6625dbc2f0c52f..addc0b6b28900f6f63672f575ea81b847a617d37 100644 (file)
@@ -13,7 +13,7 @@ XFONT_FONT_UTIL_DIR=$(BUILD_DIR)/$(XFONT_FONT_UTIL_NAME)
 XFONT_FONT_UTIL_CAT:=$(BZCAT)
 
 $(DL_DIR)/$(XFONT_FONT_UTIL_SOURCE):
-        $(WGET) -P $(DL_DIR) $(XFONT_FONT_UTIL_SITE)/$(XFONT_FONT_UTIL_SOURCE)
+        $(call DOWNLOAD,$(XFONT_FONT_UTIL_SITE),$(XFONT_FONT_UTIL_SOURCE))
 
 xfont_font-util-source: $(DL_DIR)/$(XFONT_FONT_UTIL_SOURCE)
 
index 8413c65408157e7d12b62d50d570a0eb142efb56..292c515c5f0f9e962ec8ffd75e698d46c70a90a4 100644 (file)
@@ -11,7 +11,7 @@ XERCES_DIR:=$(BUILD_DIR)/xerces-c-src_2_7_0
 XERCES_BINARY:=lib/libxerces-c.so.27.0
 
 $(DL_DIR)/$(XERCES_SOURCE):
-        $(WGET) -P $(DL_DIR) $(XERCES_SITE)/$(XERCES_SOURCE)
+        $(call DOWNLOAD,$(XERCES_SITE),$(XERCES_SOURCE))
 
 xerces-source: $(DL_DIR)/$(XERCES_SOURCE)
 
index 33913a6914d4808b6ae1d43900cc052db1a74db6..395e76470c01497d8eaf8aa2d5cd43c996c4a174 100644 (file)
@@ -19,7 +19,7 @@ XFSPROGS_STRIP_LIBDEP:= \
        repair/xfs_repair quota/xfs_quota
 
 $(DL_DIR)/$(XFSPROGS_SOURCE):
-        $(WGET) -P $(DL_DIR) $(XFSPROGS_SITE)/$(XFSPROGS_SOURCE)
+        $(call DOWNLOAD,$(XFSPROGS_SITE),$(XFSPROGS_SOURCE))
 
 xfsprogs-source: $(DL_DIR)/$(XFSPROGS_SOURCE)
 
index 739105118a55e6088febe5fa6393e421307fea6c..c4da8d1baee1824717779d1ad1df9ead9c2e63bb 100644 (file)
@@ -10,7 +10,7 @@ ZLIB_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libpn
 ZLIB_DIR:=$(BUILD_DIR)/zlib-$(ZLIB_VERSION)
 
 $(DL_DIR)/$(ZLIB_SOURCE):
-       $(WGET) -P $(DL_DIR) $(ZLIB_SITE)/$(ZLIB_SOURCE)
+       $(call DOWNLOAD,$(ZLIB_SITE),$(ZLIB_SOURCE))
 
 $(ZLIB_DIR)/.patched: $(DL_DIR)/$(ZLIB_SOURCE)
        $(ZLIB_CAT) $(DL_DIR)/$(ZLIB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -