toolchain: get rid of musl version kconfig symbol overloading
[openwrt/svn-archive/archive.git] / toolchain / musl / Config.version
index bdefec9ef39c5a5c645c25f7996fd80ee7ff0b5c..62e914cf228ad982f9410e025ed97a4f6d00b1ab 100644 (file)
@@ -1,18 +1,16 @@
+if USE_MUSL
+
 config MUSL_VERSION
        string
        depends on USE_MUSL
        default "0.9.8"       if MUSL_VERSION_0_9_8
        default "0.9.9"       if MUSL_VERSION_0_9_9
-       default "0.9.8"
-
-if !TOOLCHAINOPTS
 
-       config MUSL_VERSION_0_9_8
-               default y if USE_MUSL
-               bool
+config MUSL_VERSION_0_9_8
+       default y if !TOOLCHAINOPTS
+       bool
 
-       config MUSL_VERSION_0_9_9
-               default y if USE_MUSL
-               bool
+config MUSL_VERSION_0_9_9
+       bool
 
 endif