From 93cbaa811b23feda8d0affbc5d89f80c5ba62383 Mon Sep 17 00:00:00 2001 From: Alastair D'Silva Date: Fri, 23 Dec 2016 11:38:41 +1100 Subject: Add Newlib 2.4.0 & 2.5.0 Signed-off-by: Alastair D'Silva 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. -- cgit v0.10.2-6-g49f6