2007-02-24 11:00:05 +00:00
|
|
|
# C library options
|
|
|
|
|
2009-10-21 17:08:31 +00:00
|
|
|
menu "C-library"
|
|
|
|
|
2017-04-23 01:41:50 +00:00
|
|
|
source "config/gen/libc.in"
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2010-07-11 12:26:52 +00:00
|
|
|
config LIBC_SUPPORT_THREADS_ANY
|
|
|
|
bool
|
|
|
|
|
2014-07-27 21:47:24 +00:00
|
|
|
config LIBC_SUPPORT_THREADS_NATIVE
|
2007-05-14 19:59:41 +00:00
|
|
|
bool
|
2010-07-11 12:26:52 +00:00
|
|
|
select LIBC_SUPPORT_THREADS_ANY
|
2007-05-14 19:59:41 +00:00
|
|
|
|
2014-07-27 21:47:24 +00:00
|
|
|
config LIBC_SUPPORT_THREADS_LT
|
2007-05-14 19:59:41 +00:00
|
|
|
bool
|
2010-07-11 12:26:52 +00:00
|
|
|
select LIBC_SUPPORT_THREADS_ANY
|
2007-05-14 19:59:41 +00:00
|
|
|
|
2016-03-07 22:57:29 +00:00
|
|
|
config LIBC_SUPPORT_THREADS_POSIX
|
|
|
|
bool
|
|
|
|
select LIBC_SUPPORT_THREADS_ANY
|
|
|
|
|
2016-11-12 06:26:43 +00:00
|
|
|
config LIBC_SUPPORT_THREADS_NONE
|
|
|
|
bool
|
|
|
|
|
2015-08-30 22:11:27 +00:00
|
|
|
config LIBC_PROVIDES_CXA_ATEXIT
|
|
|
|
bool
|
|
|
|
|
2014-07-27 22:09:38 +00:00
|
|
|
# C libraries should provide other values
|
2008-09-14 18:09:36 +00:00
|
|
|
config THREADS
|
|
|
|
string
|
2014-07-27 22:09:38 +00:00
|
|
|
default "none" if THREADS_NONE
|
2009-10-21 20:51:39 +00:00
|
|
|
|
2017-07-06 07:25:30 +00:00
|
|
|
if ! LIBC_NONE
|
2009-10-21 20:51:39 +00:00
|
|
|
|
|
|
|
comment "Common C library options"
|
2008-09-14 18:09:36 +00:00
|
|
|
|
2008-08-21 09:48:00 +00:00
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "Threading implementation to use:"
|
2014-07-27 21:47:24 +00:00
|
|
|
default THREADS_NATIVE if LIBC_SUPPORT_THREADS_NATIVE
|
2017-01-21 19:49:52 +00:00
|
|
|
default THREADS_LT if LIBC_SUPPORT_THREADS_LT
|
|
|
|
default THREADS_POSIX if LIBC_SUPPORT_THREADS_POSIX
|
2016-11-12 06:26:43 +00:00
|
|
|
default THREADS_NONE
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2014-07-27 21:47:24 +00:00
|
|
|
config THREADS_NATIVE
|
2008-08-21 09:48:00 +00:00
|
|
|
bool
|
2014-07-27 21:47:24 +00:00
|
|
|
prompt "native"
|
|
|
|
depends on LIBC_SUPPORT_THREADS_NATIVE
|
|
|
|
help
|
|
|
|
This selects the native threads implementation for the selected
|
|
|
|
system and C library.
|
|
|
|
|
2014-07-27 22:15:44 +00:00
|
|
|
For example, on Linux with glibc, this is NPTL; on Windows with
|
|
|
|
mingw, this is win32.
|
2008-08-11 12:22:47 +00:00
|
|
|
|
2014-07-27 21:47:24 +00:00
|
|
|
config THREADS_LT
|
2008-08-21 09:48:00 +00:00
|
|
|
bool
|
|
|
|
prompt "linuxthreads"
|
2014-07-27 21:47:24 +00:00
|
|
|
depends on LIBC_SUPPORT_THREADS_LT
|
2008-08-21 09:48:00 +00:00
|
|
|
|
2016-03-07 22:57:29 +00:00
|
|
|
config THREADS_POSIX
|
|
|
|
bool
|
|
|
|
prompt "posix"
|
|
|
|
depends on LIBC_SUPPORT_THREADS_POSIX
|
|
|
|
|
2008-08-21 09:48:00 +00:00
|
|
|
config THREADS_NONE
|
|
|
|
bool
|
|
|
|
prompt "none"
|
2010-12-12 21:18:52 +00:00
|
|
|
depends on LIBC_SUPPORT_THREADS_NONE
|
2008-08-21 09:48:00 +00:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2017-03-22 17:54:37 +00:00
|
|
|
config CREATE_LDSO_CONF
|
|
|
|
bool "Create /etc/ld.so.conf file"
|
|
|
|
depends on SHARED_LIBS
|
|
|
|
default y if MULTILIB
|
|
|
|
help
|
|
|
|
Create /etc/ld.so.conf file in the sysroot directory for the
|
|
|
|
target.
|
|
|
|
|
|
|
|
Note that Buildroot errors out if it sees /etc/ld.so.conf.
|
|
|
|
|
|
|
|
config LDSO_CONF_EXTRA_DIRS_ARRAY
|
2017-03-23 01:33:19 +00:00
|
|
|
string "Extra directories to add to /etc/ld.so.conf"
|
2017-03-22 17:54:37 +00:00
|
|
|
depends on CREATE_LDSO_CONF
|
|
|
|
help
|
|
|
|
Extra directories to include in /etc/ld.so.conf. The directories
|
|
|
|
will be augmented per compiler's multilib specification,
|
|
|
|
if applicable. For example, if the compiler's multilibs include
|
|
|
|
/lib and /lib64, and you specify /usr/local/lib here, ld.so.conf
|
|
|
|
will have both /usr/local/lib and /usr/local/lib64.
|
|
|
|
|
2010-07-22 21:26:08 +00:00
|
|
|
config LIBC_XLDD
|
|
|
|
bool
|
|
|
|
prompt "Install a cross ldd-like helper"
|
2010-11-23 20:35:24 +00:00
|
|
|
depends on SHARED_LIBS
|
2010-07-30 20:50:32 +00:00
|
|
|
depends on ! BARE_METAL
|
2010-07-22 21:26:08 +00:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want to have a ldd-like helper that
|
|
|
|
you can run on your build system, and that will (try to)
|
|
|
|
resolve shared libraries dependencies as if run on the
|
|
|
|
target.
|
|
|
|
|
|
|
|
Note that the cross-ldd helper is not a full replacement
|
|
|
|
for the native ldd. Please see the help, by running it
|
|
|
|
with '--help' for more explanations.
|
|
|
|
|
2017-07-06 07:25:30 +00:00
|
|
|
endif # ! LIBC_NONE
|
2009-10-21 20:51:39 +00:00
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
endmenu
|