2007-02-24 11:00:05 +00:00
|
|
|
# C library options
|
|
|
|
|
2009-10-21 17:08:31 +00:00
|
|
|
menu "C-library"
|
|
|
|
|
2008-09-14 16:21:07 +00:00
|
|
|
config LIBC
|
|
|
|
string
|
|
|
|
|
2008-09-14 18:09:36 +00:00
|
|
|
config LIBC_VERSION
|
|
|
|
string
|
|
|
|
help
|
|
|
|
Enter the date of the snapshot you want to use in the form: YYYYMMDD
|
|
|
|
where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
|
|
|
|
day in the month.
|
|
|
|
|
|
|
|
Please note:
|
|
|
|
- glibc has snapshots done every monday, and only the last ten are kept.
|
|
|
|
- uClibc has daily snapshots, and only the last 30-or-so are kept.
|
|
|
|
|
|
|
|
So if you want to be able to re-build your toolchain later, you will
|
|
|
|
have to save your C library tarball by yourself.
|
|
|
|
|
2010-03-29 18:24: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
|
|
|
|
|
2007-05-14 19:59:41 +00:00
|
|
|
config LIBC_SUPPORT_NPTL
|
|
|
|
bool
|
2010-07-11 12:26:52 +00:00
|
|
|
select LIBC_SUPPORT_THREADS_ANY
|
2007-05-14 19:59:41 +00:00
|
|
|
|
|
|
|
config LIBC_SUPPORT_LINUXTHREADS
|
|
|
|
bool
|
2010-07-11 12:26:52 +00:00
|
|
|
select LIBC_SUPPORT_THREADS_ANY
|
2007-05-14 19:59:41 +00:00
|
|
|
|
2010-07-11 19:36:20 +00:00
|
|
|
config LIBC_SUPPORT_WIN32THREADS
|
|
|
|
bool
|
|
|
|
select LIBC_SUPPORT_THREADS_ANY
|
|
|
|
|
2010-12-12 21:18:52 +00:00
|
|
|
config LIBC_SUPPORT_THREADS_NONE
|
|
|
|
bool
|
|
|
|
|
2008-09-14 18:09:36 +00:00
|
|
|
config THREADS
|
|
|
|
string
|
|
|
|
default "nptl" if THREADS_NPTL
|
|
|
|
default "linuxthreads" if THREADS_LINUXTHREADS
|
2010-07-11 19:36:20 +00:00
|
|
|
default "win32" if THREADS_WIN32THREADS
|
2009-10-21 20:51:39 +00:00
|
|
|
default "none" if THREADS_NONE || LIBC_none
|
|
|
|
# No C library, no threads!
|
|
|
|
|
|
|
|
if ! LIBC_none
|
|
|
|
|
|
|
|
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:"
|
|
|
|
default THREADS_NPTL if LIBC_SUPPORT_NPTL
|
|
|
|
default THREADS_LINUXTHREADS if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
|
2010-07-11 19:36:20 +00:00
|
|
|
default THREADS_WIN32 if LIBC_SUPPORT_WIN32THREADS
|
2010-07-11 12:26:52 +00:00
|
|
|
default THREADS_NONE if ! LIBC_SUPPORT_THREADS_ANY
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2008-08-21 09:48:00 +00:00
|
|
|
config THREADS_NPTL
|
|
|
|
bool
|
|
|
|
prompt "nptl"
|
|
|
|
depends on LIBC_SUPPORT_NPTL
|
2008-08-11 12:22:47 +00:00
|
|
|
|
2008-08-21 09:48:00 +00:00
|
|
|
config THREADS_LINUXTHREADS
|
|
|
|
bool
|
|
|
|
prompt "linuxthreads"
|
|
|
|
depends on LIBC_SUPPORT_LINUXTHREADS
|
|
|
|
|
2010-07-11 19:36:20 +00:00
|
|
|
config THREADS_WIN32THREADS
|
|
|
|
bool
|
|
|
|
prompt "win32"
|
|
|
|
depends on LIBC_SUPPORT_WIN32THREADS
|
|
|
|
|
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
|
|
|
|
|
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.
|
|
|
|
|
2010-06-08 21:26:54 +00:00
|
|
|
source "config.gen/libc.in.2"
|
|
|
|
|
2009-10-21 20:51:39 +00:00
|
|
|
endif # ! LIBC_none
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
endmenu
|