Add Newlib 2.4.0 & 2.5.0

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
This commit is contained in:
Alastair D'Silva 2016-12-23 11:38:41 +11:00
parent 92c33fe46d
commit 93cbaa811b

View File

@ -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.