From fddc7af5d4662630d1bf0c7dfcff415fffe72447 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Tue, 10 Jan 2006 20:27:11 +0000
Subject: [PATCH] display limited architecture selection in menuconfig without
 CONFIG_DEVEL

SVN-Revision: 2879
---
 openwrt/Config.in | 28 ++++++++++++++++++----------
 1 file changed, 18 insertions(+), 10 deletions(-)

diff --git a/openwrt/Config.in b/openwrt/Config.in
index 308df372c2..5a1768b8d1 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
-- 
GitLab