From 9eabe97b25baac28c6319b21512f210b0d64fea6 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 10 Jan 2006 20:27:11 +0000 Subject: [PATCH] display limited architecture selection in menuconfig without CONFIG_DEVEL git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2879 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/Config.in | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/openwrt/Config.in b/openwrt/Config.in index 308df372c..5a1768b8d 100644 --- a/openwrt/Config.in +++ b/openwrt/Config.in @@ -15,7 +15,23 @@ config BR2_mipsel default y choice - prompt "Target Architecture" if CONFIG_DEVEL + prompt "Target Architecture" + +# Supported architectures + +config BR2_i386 + bool "i386" + +config BR2_mips + bool "mips" + +config BR2_mipsel + bool "mipsel" + + +if CONFIG_DEVEL + +# Unsupported architectures config BR2_arm bool "arm" @@ -26,18 +42,9 @@ config BR2_armeb config BR2_cris bool "cris" -config BR2_i386 - bool "i386" - config BR2_m68k bool "m68k" -config BR2_mips - bool "mips" - -config BR2_mipsel - bool "mipsel" - config BR2_powerpc bool "powerpc" @@ -56,6 +63,7 @@ config BR2_sh4eb config BR2_sparc bool "sparc" +endif endchoice config BR2_ARCH