toolchain: get rid of eglibc version kconfig symbol overloading
[openwrt/svn-archive/archive.git] / toolchain / eglibc / Config.version
index 92ba3e6ee0d71ceca11e549f2b368e01e8241dac..a383bb211d8608fdb681a110384edd5afba45918 100644 (file)
@@ -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