aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/Config.version
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-04-18 12:04:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-04-18 12:04:40 +0000
commit99392df05aa0d9268fa18ad3227a92f247d4ec95 (patch)
tree467f452cc7e342ec3a166b0f5489c8a596900cbd /toolchain/gcc/Config.version
parent5bca958995b10d121b09e24a88bbe895433f4043 (diff)
downloadupstream-99392df05aa0d9268fa18ad3227a92f247d4ec95.tar.gz
upstream-99392df05aa0d9268fa18ad3227a92f247d4ec95.tar.bz2
upstream-99392df05aa0d9268fa18ad3227a92f247d4ec95.zip
toolchain: get rid of gcc kconfig symbol overloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36355 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/Config.version')
-rw-r--r--toolchain/gcc/Config.version30
1 files changed, 13 insertions, 17 deletions
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index c4e646ee69..bf8b3e441e 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -1,15 +1,22 @@
-config GCC_DEFAULT_VERSION
+config GCC_VERSION_4_4_7
+ default y if (!TOOLCHAINOPTS && avr32)
bool
-config GCC_DEFAULT_VERSION_4_4_7
- select GCC_DEFAULT_VERSION
- default y if avr32
+config GCC_VERSION_4_6_3
bool
-config GCC_DEFAULT_VERSION_4_6_LINARO
- default y if !(GCC_DEFAULT_VERSION)
+config GCC_VERSION_4_7_2
bool
+config GCC_VERSION_4_6_LINARO
+ default y if (!TOOLCHAINOPTS && !avr32)
+ bool
+
+config GCC_VERSION_4_7_LINARO
+ bool
+
+config GCC_VERSION_4_8_0
+ bool
config GCC_VERSION
string
@@ -37,14 +44,3 @@ config GCC_VERSION_4_8
bool
default y if GCC_VERSION_4_8_0
-if !TOOLCHAINOPTS
-
- config GCC_VERSION_4_4_7
- default y if GCC_DEFAULT_VERSION_4_4_7
- bool
-
- config GCC_VERSION_4_6_LINARO
- default y if GCC_DEFAULT_VERSION_4_6_LINARO
- bool
-
-endif