summaryrefslogtreecommitdiff
path: root/config/libc
diff options
context:
space:
mode:
authorAlastair D'Silva <alastair@d-silva.org>2016-12-23 00:38:41 (GMT)
committerAlastair D'Silva <alastair@d-silva.org>2017-01-06 01:05:16 (GMT)
commit93cbaa811b23feda8d0affbc5d89f80c5ba62383 (patch)
tree6a221b0a7e856346e460b1c1ea6e13062c501ef6 /config/libc
parent92c33fe46de56f6774f23690d29df2dbcb91d7e2 (diff)
Add Newlib 2.4.0 & 2.5.0
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Diffstat (limited to 'config/libc')
-rw-r--r--config/libc/newlib.in37
1 files changed, 32 insertions, 5 deletions
diff --git a/config/libc/newlib.in b/config/libc/newlib.in
index a201551..166130f 100644
--- a/config/libc/newlib.in
+++ b/config/libc/newlib.in
@@ -17,7 +17,7 @@ config LIBC_NEWLIB_CUSTOM
bool
prompt "Custom newlib"
depends on EXPERIMENTAL
- select LIBC_NEWLIB_2_3_or_later
+ select LIBC_NEWLIB_2_5_or_later
help
The choosen newlib version shall be not downloaded. Instead use
a custom location to get the source.
@@ -54,15 +54,15 @@ config CC_NEWLIB_SHOW_LINARO
help
Linaro is maintaining some advanced/more stable/experimental versions
of newlib, especially for the ARM architecture.
-
+
Those versions have not been blessed by the newlib comunity (nor have they
been cursed either!), but they look to be pretty much stable, and even
more stable than the upstream versions. YMMV...
-
+
If you do not know what this Linaro stuff is, then simply say 'n' here,
and rest in peace. OTOH, if you know what you are doing, you will be
able to use and enjoy :-) the Linaro versions by saying 'y' here.
-
+
Linaro: http://www.linaro.org/
choice
@@ -70,6 +70,15 @@ choice
prompt "newlib version"
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config LIBC_NEWLIB_V_2_5_0
+ bool
+ prompt "2.5.0"
+ select LIBC_NEWLIB_2_5
+
+config LIBC_NEWLIB_V_2_4_0
+ bool
+ prompt "2.4.0.20161025"
+ select LIBC_NEWLIB_2_4
config LIBC_NEWLIB_V_2_3_0
bool
@@ -123,6 +132,14 @@ endchoice
endif # ! LIBC_NEWLIB_CUSTOM
+config LIBC_NEWLIB_2_5
+ bool
+ select LIBC_NEWLIB_2_5_or_later
+
+config LIBC_NEWLIB_2_4
+ bool
+ select LIBC_NEWLIB_2_4_or_later
+
config LIBC_NEWLIB_2_3
bool
select LIBC_NEWLIB_2_3_or_later
@@ -139,6 +156,14 @@ config LIBC_NEWLIB_2_0
bool
select LIBC_NEWLIB_2_0_or_later
+config LIBC_NEWLIB_2_5_or_later
+ bool
+ select LIBC_NEWLIB_2_4_or_later
+
+config LIBC_NEWLIB_2_4_or_later
+ bool
+ select LIBC_NEWLIB_2_3_or_later
+
config LIBC_NEWLIB_2_3_or_later
bool
select LIBC_NEWLIB_2_2_or_later
@@ -162,6 +187,8 @@ config LIBC_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "2.5.0" if LIBC_NEWLIB_V_2_5_0
+ default "2.4.0.20161025" if LIBC_NEWLIB_V_2_4_0
default "2.3.0.20160226" if LIBC_NEWLIB_V_2_3_0
default "linaro-2.2.0-2015.01" if LIBC_NEWLIB_LINARO_V_2_2_0
default "2.2.0.20151023" if LIBC_NEWLIB_V_2_2_0
@@ -189,5 +216,5 @@ config LIBC_NEWLIB_TARGET_CFLAGS
gcc target libraries.
Note: Both TARGET_CFLAGS and LIBC_NEWLIB_TARGET_CFLAGS are used
to compile the libraries.
-
+
Leave blank if you don't know better.