2009-05-22 14:46:18 +00:00
|
|
|
# newlib options
|
|
|
|
|
2011-05-08 17:02:44 +00:00
|
|
|
## depends on BARE_METAL
|
|
|
|
##
|
|
|
|
## select LIBC_SUPPORT_THREADS_NONE
|
2014-12-15 02:11:52 +00:00
|
|
|
## select CC_CORE_PASSES_NEEDED if CANADIAN
|
|
|
|
## select CC_CORE_PASS_2_NEEDED if ! CANADIAN
|
2011-05-08 17:02:44 +00:00
|
|
|
##
|
|
|
|
## help Newlib is a C library intended for use on embedded systems. It is a
|
|
|
|
## help conglomeration of several library parts, all under free software
|
|
|
|
## help licenses that make them easily usable on embedded products. Newlib
|
|
|
|
## help is only available in source form. It can be compiled for a wide
|
|
|
|
## help array of processors, and will usually work on any architecture with
|
|
|
|
## help the addition of a few low-level routines.
|
2009-05-22 14:46:18 +00:00
|
|
|
|
2015-05-02 00:51:37 +00:00
|
|
|
config CC_NEWLIB_SHOW_LINARO
|
|
|
|
bool
|
|
|
|
prompt "Show Linaro versions"
|
|
|
|
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/
|
|
|
|
|
2009-05-22 14:46:18 +00:00
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "newlib version"
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_BELOW
|
2009-05-22 14:46:18 +00:00
|
|
|
|
2015-01-06 22:39:49 +00:00
|
|
|
config LIBC_NEWLIB_LINARO_V_2_2_0
|
|
|
|
bool
|
|
|
|
prompt "Linaro 2.2.0-2015.01"
|
2015-05-02 00:51:37 +00:00
|
|
|
depends on CC_NEWLIB_SHOW_LINARO
|
2015-08-30 22:16:29 +00:00
|
|
|
select LIBC_NEWLIB_2_2
|
2015-01-06 22:39:49 +00:00
|
|
|
|
|
|
|
config LIBC_NEWLIB_V_2_2_0
|
|
|
|
bool
|
|
|
|
prompt "2.2.0"
|
2015-08-30 22:16:29 +00:00
|
|
|
select LIBC_NEWLIB_2_2
|
2015-01-06 22:39:49 +00:00
|
|
|
|
|
|
|
config LIBC_NEWLIB_LINARO_V_2_1_0
|
|
|
|
bool
|
|
|
|
prompt "Linaro 2.1.0-2014.09"
|
2015-05-02 00:51:37 +00:00
|
|
|
depends on CC_NEWLIB_SHOW_LINARO
|
2015-08-30 22:16:29 +00:00
|
|
|
select LIBC_NEWLIB_2_1
|
2015-01-06 22:39:49 +00:00
|
|
|
|
2013-12-31 11:25:27 +00:00
|
|
|
config LIBC_NEWLIB_V_2_1_0
|
|
|
|
bool
|
2015-01-06 22:39:49 +00:00
|
|
|
prompt "2.1.0"
|
2015-08-30 22:16:29 +00:00
|
|
|
select LIBC_NEWLIB_2_1
|
2013-12-31 11:25:27 +00:00
|
|
|
|
2012-12-26 23:57:26 +00:00
|
|
|
config LIBC_NEWLIB_V_2_0_0
|
|
|
|
bool
|
2015-01-06 22:39:49 +00:00
|
|
|
prompt "2.0.0"
|
2015-08-30 22:16:29 +00:00
|
|
|
select LIBC_NEWLIB_2_0
|
2012-12-26 23:57:26 +00:00
|
|
|
|
2012-09-16 18:12:22 +00:00
|
|
|
config LIBC_NEWLIB_V_1_20_0
|
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "1.20.0"
|
2012-09-16 18:12:22 +00:00
|
|
|
|
2011-07-06 22:01:50 +00:00
|
|
|
config LIBC_NEWLIB_V_1_19_0
|
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "1.19.0"
|
2011-07-06 22:01:50 +00:00
|
|
|
|
2010-01-10 16:32:32 +00:00
|
|
|
config LIBC_NEWLIB_V_1_18_0
|
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "1.18.0"
|
2010-01-10 16:32:32 +00:00
|
|
|
|
2009-10-26 17:47:11 +00:00
|
|
|
config LIBC_NEWLIB_V_1_17_0
|
2009-05-22 14:46:18 +00:00
|
|
|
bool
|
|
|
|
prompt "1.17.0"
|
|
|
|
|
2015-08-30 22:16:29 +00:00
|
|
|
endchoice
|
|
|
|
|
2012-10-11 04:39:45 +00:00
|
|
|
config LIBC_NEWLIB_CUSTOM
|
|
|
|
bool
|
|
|
|
prompt "Custom newlib"
|
|
|
|
depends on EXPERIMENTAL
|
2015-08-30 22:16:29 +00:00
|
|
|
help
|
|
|
|
The choosen library version shall be not downloaded. Instead use
|
|
|
|
a custom location to get the source.
|
2012-10-11 04:39:45 +00:00
|
|
|
|
2015-08-30 22:16:29 +00:00
|
|
|
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
|
2009-05-22 14:46:18 +00:00
|
|
|
|
2012-10-11 04:39:45 +00:00
|
|
|
if LIBC_NEWLIB_CUSTOM
|
|
|
|
|
|
|
|
config LIBC_NEWLIB_CUSTOM_LOCATION
|
|
|
|
string
|
|
|
|
prompt "Full path to custom newlib source"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Enter the path to the directory (or tarball) of your source for newlib,
|
|
|
|
or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/newlib
|
|
|
|
|
|
|
|
endif # LIBC_NEWLIB_CUSTOM
|
|
|
|
|
2009-05-22 14:46:18 +00:00
|
|
|
config LIBC_VERSION
|
|
|
|
string
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
2015-01-06 22:39:49 +00:00
|
|
|
default "linaro-2.2.0-2015.01" if LIBC_NEWLIB_LINARO_V_2_2_0
|
|
|
|
default "2.2.0" if LIBC_NEWLIB_V_2_2_0
|
|
|
|
default "linaro-2.1.0-2014.09" if LIBC_NEWLIB_LINARO_V_2_1_0
|
2014-01-02 09:35:44 +00:00
|
|
|
default "2.1.0" if LIBC_NEWLIB_V_2_1_0
|
2012-12-26 23:57:26 +00:00
|
|
|
default "2.0.0" if LIBC_NEWLIB_V_2_0_0
|
2012-09-16 18:12:22 +00:00
|
|
|
default "1.20.0" if LIBC_NEWLIB_V_1_20_0
|
2011-07-06 22:01:50 +00:00
|
|
|
default "1.19.0" if LIBC_NEWLIB_V_1_19_0
|
2010-01-10 16:32:32 +00:00
|
|
|
default "1.18.0" if LIBC_NEWLIB_V_1_18_0
|
2009-10-26 17:47:11 +00:00
|
|
|
default "1.17.0" if LIBC_NEWLIB_V_1_17_0
|
2009-10-26 21:00:30 +00:00
|
|
|
help
|
|
|
|
Enter the tag you want to use.
|
|
|
|
Leave empty to use the 'head' of the repository.
|
|
|
|
|
2015-09-06 11:54:46 +00:00
|
|
|
config LIBC_NEWLIB_TARGET_CFLAGS
|
|
|
|
string
|
|
|
|
prompt "Target CFLAGS for newlib"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Used to add specific options when compiling the target libraries
|
|
|
|
(eg. -ffunction-sections -fdata-sections), which can't be defined
|
|
|
|
in global TARGET_CFLAGS, because they shall be not used for the
|
|
|
|
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.
|