2007-02-24 11:00:05 +00:00
|
|
|
# glibc options
|
|
|
|
|
2012-11-14 13:05:49 +00:00
|
|
|
## depends on ! WINDOWS && ! BARE_METAL && ARCH_USE_MMU
|
2011-05-08 17:02:44 +00:00
|
|
|
##
|
2014-07-27 21:47:24 +00:00
|
|
|
## select LIBC_SUPPORT_THREADS_NATIVE
|
2012-11-22 22:56:58 +00:00
|
|
|
## select CC_CORE_PASSES_NEEDED
|
2015-10-24 00:49:56 +00:00
|
|
|
## select GETTEXT_NEEDED
|
2011-05-08 17:02:44 +00:00
|
|
|
##
|
|
|
|
## help The de-facto standard for Linux distributions.
|
2015-02-07 18:57:25 +00:00
|
|
|
## help Feature-rich, but large... Most useful for desktop-like systems.
|
2008-09-14 18:09:36 +00:00
|
|
|
|
2014-07-27 22:09:38 +00:00
|
|
|
config THREADS
|
|
|
|
default "nptl"
|
|
|
|
|
2015-11-26 13:07:37 +00:00
|
|
|
config LIBC_GLIBC_CUSTOM
|
|
|
|
bool
|
|
|
|
prompt "Custom glibc"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select LIBC_CUSTOM
|
|
|
|
select LIBC_GLIBC_2_20_or_later
|
|
|
|
help
|
|
|
|
The choosen glibc version shall be not downloaded. Instead use
|
|
|
|
a custom location to get the source.
|
|
|
|
|
|
|
|
if LIBC_GLIBC_CUSTOM
|
|
|
|
|
|
|
|
config LIBC_GLIBC_CUSTOM_LOCATION
|
|
|
|
string
|
|
|
|
prompt "Full path to custom glibc source"
|
|
|
|
help
|
|
|
|
Enter the path to the directory or tarball of your source for glibc.
|
|
|
|
|
|
|
|
If the path is a tarball, it should extract to: <name>-<version>/
|
|
|
|
where the name is this component, glibc, and the version is set
|
|
|
|
below in the custom version string.
|
|
|
|
|
|
|
|
config LIBC_GLIBC_CUSTOM_VERSION
|
|
|
|
string
|
|
|
|
prompt "Custom GLIBC version"
|
|
|
|
help
|
|
|
|
Enter the version number for your custom glibc.
|
|
|
|
|
|
|
|
config LIBC_VERSION
|
|
|
|
string
|
|
|
|
default LIBC_GLIBC_CUSTOM_VERSION
|
|
|
|
|
|
|
|
endif # LIBC_GLIBC_CUSTOM
|
|
|
|
|
|
|
|
if ! LIBC_GLIBC_CUSTOM
|
|
|
|
|
2015-05-02 00:51:37 +00:00
|
|
|
config CC_GLIBC_SHOW_LINARO
|
|
|
|
bool
|
|
|
|
prompt "Show Linaro versions"
|
|
|
|
help
|
|
|
|
Linaro is maintaining some advanced/more stable/experimental versions
|
|
|
|
of glibc, especially for the ARM architecture.
|
|
|
|
|
|
|
|
Those versions have not been blessed by the glibc 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/
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "glibc version"
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_BELOW
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2016-11-12 18:49:26 +00:00
|
|
|
config LIBC_GLIBC_V_2_24
|
|
|
|
bool
|
|
|
|
prompt "2.24"
|
|
|
|
select LIBC_GLIBC_2_23_or_later
|
|
|
|
|
2016-02-23 18:37:30 +00:00
|
|
|
config LIBC_GLIBC_V_2_23
|
|
|
|
bool
|
|
|
|
prompt "2.23"
|
2016-03-15 19:39:03 +00:00
|
|
|
select LIBC_GLIBC_2_23_or_later
|
2016-02-23 18:37:30 +00:00
|
|
|
|
2015-09-02 01:41:43 +00:00
|
|
|
config LIBC_GLIBC_V_2_22
|
|
|
|
bool
|
|
|
|
prompt "2.22"
|
2015-11-21 10:10:50 +00:00
|
|
|
select LIBC_GLIBC_2_20_or_later
|
2015-09-02 01:41:43 +00:00
|
|
|
|
2015-02-07 18:57:25 +00:00
|
|
|
config LIBC_GLIBC_V_2_21
|
|
|
|
bool
|
|
|
|
prompt "2.21"
|
2015-11-21 10:10:50 +00:00
|
|
|
select LIBC_GLIBC_2_20_or_later
|
2015-02-07 18:57:25 +00:00
|
|
|
|
2015-01-06 22:35:33 +00:00
|
|
|
config LIBC_GLIBC_LINARO_V_2_20
|
|
|
|
bool
|
|
|
|
prompt "Linaro 2.20-2014.11"
|
|
|
|
select LIBC_GLIBC_2_20_or_later
|
2015-05-02 00:51:37 +00:00
|
|
|
depends on CC_GLIBC_SHOW_LINARO
|
2015-01-06 22:35:33 +00:00
|
|
|
|
2014-09-08 16:57:04 +00:00
|
|
|
config LIBC_GLIBC_V_2_20
|
|
|
|
bool
|
|
|
|
prompt "2.20"
|
2014-12-09 03:58:12 +00:00
|
|
|
select LIBC_GLIBC_2_20_or_later
|
2014-09-08 16:57:04 +00:00
|
|
|
|
2014-02-16 22:53:29 +00:00
|
|
|
config LIBC_GLIBC_V_2_19
|
|
|
|
bool
|
|
|
|
prompt "2.19"
|
|
|
|
|
2013-10-06 22:16:20 +00:00
|
|
|
config LIBC_GLIBC_V_2_18
|
|
|
|
bool
|
|
|
|
prompt "2.18"
|
2007-08-11 10:57:18 +00:00
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
endchoice
|
|
|
|
|
2015-11-26 13:07:37 +00:00
|
|
|
endif # ! LIBC_GLIBC_CUSTOM
|
|
|
|
|
2016-03-15 19:39:03 +00:00
|
|
|
# Checked by SPARC build: SPARCv8 is dropped in 2.23.
|
|
|
|
config LIBC_GLIBC_2_23_or_later
|
|
|
|
select LIBC_GLIBC_2_20_or_later
|
|
|
|
bool
|
|
|
|
|
2016-02-23 19:02:40 +00:00
|
|
|
# DeMark 2.20 as no longer needs to set NPTL as an addon.
|
|
|
|
# It is no longer possible to build glibc without pthread!
|
2014-12-09 03:58:12 +00:00
|
|
|
config LIBC_GLIBC_2_20_or_later
|
|
|
|
bool
|
|
|
|
|
2015-11-26 13:07:37 +00:00
|
|
|
if ! LIBC_GLIBC_CUSTOM
|
2013-03-12 05:13:48 +00:00
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
config LIBC_VERSION
|
|
|
|
string
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
2016-11-12 18:49:26 +00:00
|
|
|
default "2.24" if LIBC_GLIBC_V_2_24
|
2016-02-23 18:37:30 +00:00
|
|
|
default "2.23" if LIBC_GLIBC_V_2_23
|
2015-09-02 01:41:43 +00:00
|
|
|
default "2.22" if LIBC_GLIBC_V_2_22
|
2015-02-07 18:57:25 +00:00
|
|
|
default "2.21" if LIBC_GLIBC_V_2_21
|
2015-01-06 22:35:33 +00:00
|
|
|
default "linaro-2.20-2014.11" if LIBC_GLIBC_LINARO_V_2_20
|
2014-09-08 16:57:04 +00:00
|
|
|
default "2.20" if LIBC_GLIBC_V_2_20
|
2014-02-16 22:53:29 +00:00
|
|
|
default "2.19" if LIBC_GLIBC_V_2_19
|
2013-10-06 22:16:20 +00:00
|
|
|
default "2.18" if LIBC_GLIBC_V_2_18
|
2015-11-26 13:07:37 +00:00
|
|
|
|
|
|
|
endif # ! LIBC_GLIBC_CUSTOM
|