1 # Options specific to downloading packages
7 prompt "Forbid downloads"
9 Normally, crosstool-NG will try to download missing tarballs (or
10 checkout from CVS/SVN...).
11 If you do not have network connectivity when you run crosstool-NG,
12 and some files are missing, it can be a long time before crosstool-NG
15 Saying 'y' here will prevent crosstool-NG from downloading missing
16 files, thus failing early so that you don't get stuck.
22 prompt "Force downloads"
24 Force downloading tarballs, even if one already exists.
26 Useful if you suspect a tarball to be damaged.
28 config CONNECT_TIMEOUT
30 prompt "Connection timeout"
34 Maximum time in seconds that you allow the connection to the server to take.
36 The scenario is as follows;
37 - some enterprise networks have firewalls that prohibit FTP traffic, while
39 - most download sites have http:// equivalent for the ftp:// URL
40 - after this number of seconds, it is considered that the connection could
41 not be established, and the next URL in the list is tried, until we reach
42 an URL that will go through the firewall, most probably an http:// URL.
44 If you have a slow network, you'd better set this value higher than the default
45 10s. If you know a firewall is blocking connections, but your network is globally
46 fast, you can try to lower this value to jump more quickly to allowed URLs. YMMV.
48 Note that this value applies equally to wget if you have that installed.
50 If '-1' is specified, no timeout reconfiguration options are passed to wget/curl.
54 prompt "Stop after downloading tarballs"
56 Only download the tarballs. Exit once it done.
58 Useful to pre-retrieve the tarballs before going off-line.
64 If you have a machine on your LAN that mirrors some of the needed
65 tarballs, you can say 'Y' here, and configure adequate values in
66 the following options.
68 Obviously, nothing prevents you from using a mirror that is in fact
69 *not* on your LAN, for example on another subnet of your company's
70 network, or a mirror on the Internet.
76 prompt "Only use mirror"
78 Only allow downloading from the mirror specified, other download locations
79 will NOT be used, and the package will fail to be located if not present
80 on the mirror provided
82 config MIRROR_BASE_URL
85 default "http://crosstool-ng.org/mirrors/"
87 This is the base URL searched in for tarballs.
89 The crosstool-NG server hosts a few of the required components, but
90 it is limited to volatile snashots (eg. uClibc) that are used in some
91 samples, or to mirror some archives which upstream can be flaky (eg.
92 mpfr), or for which upstream releases can be missing due to upstream
93 not doing archives (eg. glibc-ports).
95 The mirror is provided as-is, no guarantee is made as to the actual
96 content of the archives, or to the availability of the mirror.
98 Excercise caution, use at your own risks!
100 The mirror is available at:
101 http://crosstool-ng.org/mirrors/
105 endif # ! FORBID_DOWNLOAD