DOWNLOAD: change $1=DIRECTORY_URL, $2=FILE_NAME to $1=FULL_FILE_URL, $2=FILE_NAME
authorAlvaro G. M <alvaro.gamez@hazent.com>
Fri, 16 Mar 2012 13:42:53 +0000 (14:42 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 18 Mar 2012 21:21:16 +0000 (22:21 +0100)
commit0a4856ce27027e939fdcd350fb0b246cbda75e93
treed21da7df0dda38cc0ff1495beb9bc7c92f43c5b1
parent6372f4e64600335b5ff7d07e3b78baf2fa6cce59
DOWNLOAD: change $1=DIRECTORY_URL, $2=FILE_NAME to $1=FULL_FILE_URL, $2=FILE_NAME

This modifies the definition of DOWNLOAD to receive two arguments:
the first one is the full URL of the file to download, whereas the second
(and optional) is the name the file will have once downloaded.

Same thing with the SOURCE_CHECK_WGET and SCP functions.

All calls to these functions have been changed to the shortest form of
the new API, except for toolchains acquisition. Since there is quite a
number of different toolchains this call to DOWNLOAD is better set to the
generic one.

Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Stephan Hoffmann <sho@relinux.de>
Downloading Microblaze LE toolchain works on a clean install
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
20 files changed:
docs/manual/adding-packages-handwritten.txt
linux/linux.mk
package/Makefile.package.in
package/cups/cups.mk
package/fis/fis.mk
package/games/doom-wad/doom-wads.mk
package/gettext/gettext.mk
package/netkitbase/netkitbase.mk
package/netkittelnet/netkittelnet.mk
package/newt/newt.mk
package/tinyhttpd/tinyhttpd.mk
package/ttcp/ttcp.mk
package/uemacs/uemacs.mk
package/vpnc/vpnc.mk
package/xfsprogs/xfsprogs.mk
toolchain/gcc/gcc-uclibc-4.x.mk
toolchain/gdb/gdb.mk
toolchain/kernel-headers/kernel-headers.mk
toolchain/toolchain-external/ext-tool.mk
toolchain/uClibc/uclibc.mk