toolchain: Reverse glibc/eglibc conditionals to check for eglibc
[openwrt/openwrt.git] / toolchain / glibc / Config.version
index 466794fa8c2e97731af44c03890407e249b5370f..39066d0c302408efb54c038863cf5c5d7a3429c0 100644 (file)
@@ -1,11 +1,31 @@
+if USE_GLIBC
+
 config GLIBC_VERSION
        string
-       depends on USE_GLIBC
-       default "2.14"    if GLIBC_VERSION_2_14
-       default "2.14"
+       default "2.19" if EGLIBC_VERSION_2_19
+       default "2.21" if GLIBC_VERSION_2_21
+       default "2.22" if GLIBC_VERSION_2_22
+
+config EGLIBC_VERSION_2_19
+       default y if !TOOLCHAINOPTS
+       bool
+
+config GLIBC_VERSION_2_21
+       bool
 
-config GLIBC_PORTS
+config GLIBC_VERSION_2_22
        bool
-       depends on USE_GLIBC
-       default y  if GLIBC_VERSION_2_14 && (arm || armeb || mips || mipsel || mips64 || mips64el || powerpc)
-       default n
+
+config GLIBC_REVISION
+       string
+       default "25243" if EGLIBC_VERSION_2_19
+       default "4e42b5b8f8" if GLIBC_VERSION_2_21
+       default "78bd7499af" if GLIBC_VERSION_2_22
+       default ""
+
+endif
+
+menu "eglibc configuration"
+       depends on !TOOLCHAINOPTS && USE_GLIBC
+       source toolchain/glibc/config/Config.in
+endmenu