summaryrefslogtreecommitdiff
path: root/config/libc
diff options
context:
space:
mode:
Diffstat (limited to 'config/libc')
-rw-r--r--config/libc/glibc.in22
-rw-r--r--config/libc/musl.in4
-rw-r--r--config/libc/newlib.in37
3 files changed, 58 insertions, 5 deletions
diff --git a/config/libc/glibc.in b/config/libc/glibc.in
index fbc82d5..dee6748 100644
--- a/config/libc/glibc.in
+++ b/config/libc/glibc.in
@@ -34,10 +34,15 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config LIBC_GLIBC_V_2_22
+ bool
+ prompt "2.22"
+ select LIBC_GLIBC_2_21_or_later
+
config LIBC_GLIBC_V_2_21
bool
prompt "2.21"
- select LIBC_GLIBC_2_20_or_later
+ select LIBC_GLIBC_2_21_or_later
config LIBC_GLIBC_LINARO_V_2_20
bool
@@ -53,14 +58,17 @@ config LIBC_GLIBC_V_2_20
config LIBC_GLIBC_V_2_19
bool
prompt "2.19"
+ select LIBC_GLIBC_2_17_or_later
config LIBC_GLIBC_V_2_18
bool
prompt "2.18"
+ select LIBC_GLIBC_2_17_or_later
config LIBC_GLIBC_V_2_17
bool
prompt "2.17"
+ select LIBC_GLIBC_2_17_or_later
config LIBC_GLIBC_V_2_16_0
bool
@@ -132,8 +140,19 @@ config LIBC_GLIBC_CUSTOM
endchoice
+# glibc 2.21 depends on gcc >= 4.6
+config LIBC_GLIBC_2_21_or_later
+ bool
+ depends on CC_GCC_4_6_or_later
+ select LIBC_GLIBC_2_20_or_later
+
config LIBC_GLIBC_2_20_or_later
bool
+ select LIBC_GLIBC_2_17_or_later
+
+# DeMark no more ports
+config LIBC_GLIBC_2_17_or_later
+ bool
config LIBC_CUSTOM
bool
@@ -154,6 +173,7 @@ config LIBC_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "2.22" if LIBC_GLIBC_V_2_22
default "2.21" if LIBC_GLIBC_V_2_21
default "linaro-2.20-2014.11" if LIBC_GLIBC_LINARO_V_2_20
default "2.20" if LIBC_GLIBC_V_2_20
diff --git a/config/libc/musl.in b/config/libc/musl.in
index 9ecae01..f5b4fc0 100644
--- a/config/libc/musl.in
+++ b/config/libc/musl.in
@@ -20,7 +20,7 @@ choice
config LIBC_MUSL_V_1_1
bool
- prompt "1.1.9 (Mainline)"
+ prompt "1.1.11 (Mainline)"
depends on EXPERIMENTAL
config LIBC_MUSL_V_1_0
@@ -38,6 +38,6 @@ config LIBC_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
- default "1.1.9" if LIBC_MUSL_V_1_1
+ default "1.1.11" if LIBC_MUSL_V_1_1
default "1.0.5" if LIBC_MUSL_V_1_0
default "custom" if LIBC_MUSL_V_CUSTOM
diff --git a/config/libc/newlib.in b/config/libc/newlib.in
index 67ecf54..f32e4b3 100644
--- a/config/libc/newlib.in
+++ b/config/libc/newlib.in
@@ -40,23 +40,28 @@ config LIBC_NEWLIB_LINARO_V_2_2_0
bool
prompt "Linaro 2.2.0-2015.01"
depends on CC_NEWLIB_SHOW_LINARO
+ select LIBC_NEWLIB_2_2
config LIBC_NEWLIB_V_2_2_0
bool
prompt "2.2.0"
+ select LIBC_NEWLIB_2_2
config LIBC_NEWLIB_LINARO_V_2_1_0
bool
prompt "Linaro 2.1.0-2014.09"
depends on CC_NEWLIB_SHOW_LINARO
+ select LIBC_NEWLIB_2_1
config LIBC_NEWLIB_V_2_1_0
bool
prompt "2.1.0"
+ select LIBC_NEWLIB_2_1
config LIBC_NEWLIB_V_2_0_0
bool
prompt "2.0.0"
+ select LIBC_NEWLIB_2_0
config LIBC_NEWLIB_V_1_20_0
bool
@@ -74,12 +79,41 @@ config LIBC_NEWLIB_V_1_17_0
bool
prompt "1.17.0"
+endchoice
+
config LIBC_NEWLIB_CUSTOM
bool
prompt "Custom newlib"
depends on EXPERIMENTAL
+ help
+ The choosen library version shall be not downloaded. Instead use
+ a custom location to get the source.
-endchoice
+config LIBC_NEWLIB_2_2
+ bool
+ select LIBC_NEWLIB_2_2_or_later
+
+config LIBC_NEWLIB_2_1
+ bool
+ select LIBC_NEWLIB_2_1_or_later
+
+config LIBC_NEWLIB_2_0
+ bool
+ select LIBC_NEWLIB_2_0_or_later
+
+config LIBC_NEWLIB_2_2_or_later
+ bool
+ select LIBC_NEWLIB_2_1_or_later
+
+config LIBC_NEWLIB_2_1_or_later
+ bool
+ select LIBC_NEWLIB_2_0_or_later
+
+# maybe older versions of newlib will support it too, but this
+# needs to be checked
+config LIBC_NEWLIB_2_0_or_later
+ bool
+ select LIBC_PROVIDES_CXA_ATEXIT
if LIBC_NEWLIB_CUSTOM
@@ -106,7 +140,6 @@ config LIBC_VERSION
default "1.19.0" if LIBC_NEWLIB_V_1_19_0
default "1.18.0" if LIBC_NEWLIB_V_1_18_0
default "1.17.0" if LIBC_NEWLIB_V_1_17_0
- default "custom" if LIBC_NEWLIB_CUSTOM
help
Enter the tag you want to use.
Leave empty to use the 'head' of the repository.