musl: fix GDB debugging on mips (local, remote)
[openwrt/staging/chunkeey.git] / toolchain / glibc / Config.version
index 1debf0c040d81189cebecead0909329978a39624..99ab7fd43180bdd8fee90b55354abe7b6014bdc5 100644 (file)
@@ -1,15 +1,30 @@
+if USE_GLIBC
+
 config GLIBC_VERSION
        string
-       depends on USE_GLIBC
-       default "2.3.6"  if GLIBC_VERSION_2_3_6
-       default "2.6.1"  if GLIBC_VERSION_2_6_1
-       default "2.7"    if GLIBC_VERSION_2_7
-       default "2.7"
+       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
+       bool
+
+config GLIBC_VERSION_2_21
+       bool
 
-config GLIBC_PORTS
+config GLIBC_VERSION_2_22
+       default y if !TOOLCHAINOPTS
        bool
-       depends on USE_GLIBC
-       default y  if GLIBC_VERSION_2_3_6 && (arm || armeb || mips || mipsel || mips64 || mips64el)
-       default y  if GLIBC_VERSION_2_6_1 && (arm || armeb || mips || mipsel || mips64 || mips64el || powerpc)
-       default y  if GLIBC_VERSION_2_7 && (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 ""
+
+endif
+
+menu "eglibc configuration"
+       depends on !TOOLCHAINOPTS && USE_GLIBC
+       source toolchain/glibc/config/Config.in
+endmenu