core: fix download menu
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 14 Jul 2015 07:42:40 +0000 (09:42 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 14 Jul 2015 07:46:51 +0000 (09:46 +0200)
Currently, when one enables the "Only allow downloads from primary"
option, all the other mirror options are hidden (expected!) but the
LuaRocks and CPAN mirrors (bad!).

Fix that.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Config.in

index e10427f624dc76588d9c9de16e84b46d9c1768dd..8b1bd8d9aa88a75601ec4d0f0b974a81023b9c9c 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -218,8 +218,6 @@ config BR2_GNU_MIRROR
             http://ftp.gnu.org/pub/gnu
             http://mirror.aarnet.edu.au/pub/gnu
 
-endif
-
 config BR2_LUAROCKS_MIRROR
        string "LuaRocks mirror"
        default "http://rocks.moonscript.org"
@@ -239,6 +237,8 @@ config BR2_CPAN_MIRROR
          The list of mirrors is available at:
          http://search.cpan.org/mirror
 
+endif
+
 endmenu
 
 config BR2_JLEVEL