summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJasmin Jessich <jasmin@anw.at>2015-08-30 22:16:29 (GMT)
committerJasmin Jessich <jasmin@anw.at>2015-09-03 21:57:30 (GMT)
commit2a67a2d5647d4ecbb3b67765930f2cf0c6dbb063 (patch)
treeac46ce113722ca3f5fd0e12c20feffc1bcabf26c /config
parent74b09f9c4a07a8f561001f4a727259b2d5eced77 (diff)
LIBC_NEWLIB_CUSTOM is no longer part of the newlib version choice, but an
independend configuration to enable LIBC_NEWLIB_CUSTOM. All newlib versions >=2.0.0 does provide __cxa_atexit. To enable this function in GCC, all versions >=2.0.0 does now select LIBC_PROVIDES_CXA_ATEXIT. Signed-off-by: Jasmin Jessich <jasmin@anw.at>
Diffstat (limited to 'config')
-rw-r--r--config/libc/newlib.in37
1 files changed, 35 insertions, 2 deletions
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.