1.1 --- a/config/global/download.in Tue Oct 18 20:17:41 2011 +0200
1.2 +++ b/config/global/download.in Thu Dec 27 12:53:32 2012 +0100
1.3 @@ -55,8 +55,6 @@
1.4
1.5 Useful to pre-retrieve the tarballs before going off-line.
1.6
1.7 -endif # ! FORBID_DOWNLOAD
1.8 -
1.9 config USE_MIRROR
1.10 bool
1.11 prompt "Use a mirror"
1.12 @@ -69,10 +67,19 @@
1.13 *not* on your LAN, for example on another subnet of your company's
1.14 network, or a mirror on the Internet.
1.15
1.16 +if USE_MIRROR
1.17 +
1.18 +config FORCE_MIRROR
1.19 + bool
1.20 + prompt "Only use mirror"
1.21 + help
1.22 + Only allow downloading from the mirror specified, other download locations
1.23 + will NOT be used, and the package will fail to be located if not present
1.24 + on the mirror provided
1.25 +
1.26 config MIRROR_BASE_URL
1.27 string
1.28 prompt "Base URL"
1.29 - depends on USE_MIRROR
1.30 default "http://crosstool-ng.org/mirrors/"
1.31 help
1.32 This is the base URL searched in for tarballs.
1.33 @@ -90,3 +97,7 @@
1.34
1.35 The mirror is available at:
1.36 http://crosstool-ng.org/mirrors/
1.37 +
1.38 +endif # USE_MIRROR
1.39 +
1.40 +endif # ! FORBID_DOWNLOAD