diff -r 32aa23619dfd -r 2858a24a5846 config/global/download.in --- a/config/global/download.in Tue Oct 18 20:17:41 2011 +0200 +++ b/config/global/download.in Sun Aug 12 07:45:42 2012 -0400 @@ -55,8 +55,6 @@ Useful to pre-retrieve the tarballs before going off-line. -endif # ! FORBID_DOWNLOAD - config USE_MIRROR bool prompt "Use a mirror" @@ -69,10 +67,19 @@ *not* on your LAN, for example on another subnet of your company's network, or a mirror on the Internet. +if USE_MIRROR + +config FORCE_MIRROR + bool + prompt "Only use mirror" + help + Only allow downloading from the mirror specified, other download locations + will NOT be used, and the package will fail to be located if not present + on the mirror provided + config MIRROR_BASE_URL string prompt "Base URL" - depends on USE_MIRROR default "http://crosstool-ng.org/mirrors/" help This is the base URL searched in for tarballs. @@ -90,3 +97,7 @@ The mirror is available at: http://crosstool-ng.org/mirrors/ + +endif # USE_MIRROR + +endif # ! FORBID_DOWNLOAD