summaryrefslogtreecommitdiffstats
path: root/toolchain/eglibc/Config.version
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-18 12:04:55 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-18 12:04:55 +0000
commit16768cac5b7af0bf837de490af4b9831851c137b (patch)
tree6f8f70ba05cfe355ffe1e6d01aa8d618e41ac336 /toolchain/eglibc/Config.version
parent643e08718bde9507f1f76c55517f41c71ce4db8a (diff)
toolchain: get rid of eglibc version kconfig symbol overloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36358 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/eglibc/Config.version')
-rw-r--r--toolchain/eglibc/Config.version16
1 files changed, 14 insertions, 2 deletions
diff --git a/toolchain/eglibc/Config.version b/toolchain/eglibc/Config.version
index 92ba3e6ee..a383bb211 100644
--- a/toolchain/eglibc/Config.version
+++ b/toolchain/eglibc/Config.version
@@ -1,7 +1,19 @@
+if USE_EGLIBC
+
config EGLIBC_VERSION
string
- depends on USE_EGLIBC
default "2.15" if EGLIBC_VERSION_2_15
default "2.16" if EGLIBC_VERSION_2_16
default "2.17" if EGLIBC_VERSION_2_17
- default "2.15"
+
+config EGLIBC_VERSION_2_15
+ default y if !TOOLCHAINOPTS
+ bool
+
+config EGLIBC_VERSION_2_16
+ bool
+
+config EGLIBC_VERSION_2_17
+ bool
+
+endif