config/global/download.in
changeset 1131 b62d14d45fc4
parent 1022 7b3e8b8d392e
child 1292 546d2ed3410b
child 1366 5e5d1e6f55d3
     1.1 --- a/config/global/download.in	Fri Oct 31 18:27:27 2008 +0000
     1.2 +++ b/config/global/download.in	Tue Jan 06 22:34:36 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