summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-15 16:40:06 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-15 16:40:06 +0000
commitb20d6f77d9f4deed351358d288f4ff9192816c59 (patch)
treed11d761d79f7a561e6c1c2f2989f7423bff63e5b /toolchain/gcc
parent3dd2665c70d2d36ae1e43121678d8fa39f901876 (diff)
fix menuconfig developer options structure
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3948 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Config.in23
-rw-r--r--toolchain/gcc/Config.version21
2 files changed, 22 insertions, 22 deletions
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index 491290734..6c584db40 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -1,14 +1,5 @@
# Choose gcc version.
-if !TOOLCHAINOPTS
- config GCC_VERSION_3_4_4
- default y if LINUX_2_4_BRCM
-
- config GCC_VERSION_4_0_3
- default y if LINUX_2_6_ARUBA
-
-endif
-
choice
prompt "GCC compiler Version" if TOOLCHAINOPTS
default GCC_VERSION_4_0_3 if LINUX_2_6_ARUBA
@@ -41,19 +32,6 @@ choice
endchoice
-config GCC_VERSION
- string
- prompt "GCC compiler Version" if (TOOLCHAINOPTS && NULL)
- default "3.4.4" if GCC_VERSION_3_4_4
- default "3.4.5" if GCC_VERSION_3_4_5
- default "3.4.6" if GCC_VERSION_3_4_6
- default "4.0.2" if GCC_VERSION_4_0_2
- default "4.0.3" if GCC_VERSION_4_0_3
- default "4.1.0" if GCC_VERSION_4_1_0
- default "4.1.1" if GCC_VERSION_4_1_1
- default "3.4.6"
-
-
config EXTRA_GCC_CONFIG_OPTIONS
string
prompt "Additional gcc options" if TOOLCHAINOPTS
@@ -68,3 +46,4 @@ config INSTALL_LIBSTDCPP
help
Build/install c++ compiler and libstdc++?
+
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
new file mode 100644
index 000000000..80e260605
--- /dev/null
+++ b/toolchain/gcc/Config.version
@@ -0,0 +1,21 @@
+config GCC_VERSION
+ string
+ default "3.4.4" if GCC_VERSION_3_4_4
+ default "3.4.5" if GCC_VERSION_3_4_5
+ default "3.4.6" if GCC_VERSION_3_4_6
+ default "4.0.2" if GCC_VERSION_4_0_2
+ default "4.0.3" if GCC_VERSION_4_0_3
+ default "4.1.0" if GCC_VERSION_4_1_0
+ default "4.1.1" if GCC_VERSION_4_1_1
+ default "3.4.6"
+
+if !TOOLCHAINOPTS
+ config GCC_VERSION_3_4_4
+ default y if LINUX_2_4_BRCM
+
+ config GCC_VERSION_4_0_3
+ default y if LINUX_2_6_ARUBA
+
+endif
+
+