toolchain: Rework external toolchain libc selection
[openwrt/openwrt.git] / toolchain / glibc / Config.in
index 1b87976d32540eb4aaed71b7c7b80b9c4296f1f2..5adbeb6f8245287318cf405ac5ba4b9a5e9e0969 100644 (file)
@@ -1,11 +1,12 @@
 choice
-       prompt "glibc version" 
-       depends on TOOLCHAINOPTS && USE_GLIBC
-       default GLIBC_VERSION_2_14
+       prompt "glibc version"
+       depends on TOOLCHAINOPTS && USE_GLIBC && !EXTERNAL_TOOLCHAIN
+       default GLIBC_USE_VERSION_2_24
        help
          Select the version of glibc you wish to use.
 
-       config GLIBC_VERSION_2_14
-               bool "glibc 2.14"
+       config GLIBC_USE_VERSION_2_24
+               bool "glibc 2.24"
+               select GLIBC_VERSION_2_24
 
 endchoice