1.1 --- a/config/global/download.in Fri Oct 31 18:27:27 2008 +0000
1.2 +++ b/config/global/download.in Tue Jan 27 19:53:44 2009 +0000
1.3 @@ -2,6 +2,22 @@
1.4
1.5 comment "Downloading"
1.6
1.7 +config FORBID_DOWNLOAD
1.8 + bool
1.9 + prompt "Forbid downloads"
1.10 + default n
1.11 + help
1.12 + Normally, crosstool-NG will try to download missing tarballs (or
1.13 + checkout from CVS/SVN...).
1.14 + If you do not have network connectivity when you run crosstool-NG,
1.15 + and some files are missing, it can be a long time before crosstool-NG
1.16 + fails.
1.17 +
1.18 + Saying 'y' here will prevent crosstool-NG from downloading missing
1.19 + files, thus failing early so that you don't get stuck.
1.20 +
1.21 +if ! FORBID_DOWNLOAD
1.22 +
1.23 config FORCE_DOWNLOAD
1.24 bool
1.25 prompt "Force downloads"
1.26 @@ -281,3 +297,5 @@
1.27 Only download the tarballs. Exit once it done.
1.28
1.29 Usefull to pre-retrieve the tarballs before going off-line.
1.30 +
1.31 +endif # ! FORBID_DOWNLOAD