toolchain: fix eglibc build when TOOLCHAINOPTS is not set
[lede-git/.git] / toolchain / glibc / Config.in
index 1b87976d32540eb4aaed71b7c7b80b9c4296f1f2..66ff2f4ff5c3cd764ba17751dfa68e55a8518c3c 100644 (file)
@@ -1,11 +1,21 @@
 choice
-       prompt "glibc version" 
+       prompt "(e)glibc version"
        depends on TOOLCHAINOPTS && USE_GLIBC
-       default GLIBC_VERSION_2_14
+       default EGLIBC_USE_VERSION_2_19
        help
          Select the version of glibc you wish to use.
 
-       config GLIBC_VERSION_2_14
-               bool "glibc 2.14"
+       config EGLIBC_USE_VERSION_2_19
+               bool "eglibc 2.19"
+               select EGLIBC_VERSION_2_19
+
+       config GLIBC_USE_VERSION_2_21
+               bool "glibc 2.21"
+               select GLIBC_VERSION_2_21
 
 endchoice
+
+menu "eglibc configuration"
+       depends on TOOLCHAINOPTS && USE_GLIBC && EGLIBC_USE_VERSION_2_19
+       source toolchain/glibc/config/Config.in
+endmenu