Yann E. MORIN" 6501c29fd1 Merge r1432:1437 from /branches/newlib into /trunk :
- under bare-metal, the user is responsible for providing a gdbserver stub (r1433)
- install a CT_TARGET-cc -> CT_TARGET-gcc symlink for the core gcc (r1434)
- allow broader dependency in generated config files (r1435, r1436)
- prepare C library menuconfig for using a C library under bare-metal (r1437)

 /trunk/scripts/build/cc/gcc.sh  |    4     4     0     0 ++++
 /trunk/config/debug/gdb.in      |    5     5     0     0 +++++
 /trunk/config/libc/glibc.in     |    1     1     0     0 +
 /trunk/config/libc/uClibc.in    |    1     1     0     0 +
 /trunk/config/libc/eglibc.in    |    2     1     1     0 +-
 /trunk/config/config.mk         |   20     8    12     0 ++++++++------------
 /trunk/config/arch/sh.in        |    2     1     1     0 +-
 /trunk/config/arch/ia64.in      |    2     1     1     0 +-
 /trunk/config/arch/powerpc64.in |    2     1     1     0 +-
 /trunk/config/libc.in           |    4     0     4     0 ----
 10 files changed, 23 insertions(+), 20 deletions(-)
2009-03-26 18:58:13 +00:00

160 lines
3.3 KiB
Plaintext

# uClibc options
# depends on ! BARE_METAL
config LIBC_uClibc
select LIBC_SUPPORT_LINUXTHREADS
help
The de-facto standard for embeded linux systems.
Highly configurable, thus as feature-rich as you need, without
compromising for size.
choice
bool
prompt "uClibc version"
config LIBC_V_0_9_28
bool
prompt "0.9.28 (OBSOLETE)"
depends on OBSOLETE
config LIBC_V_0_9_28_1
bool
prompt "0.9.28.1 (OBSOLETE)"
depends on OBSOLETE
config LIBC_V_0_9_28_2
bool
prompt "0.9.28.2 (OBSOLETE)"
depends on OBSOLETE
config LIBC_V_0_9_28_3
bool
prompt "0.9.28.3"
config LIBC_V_0_9_29
bool
prompt "0.9.29"
config LIBC_V_0_9_30
bool
prompt "0.9.30"
config LIBC_V_0_9_30_1
bool
prompt "0.9.30.1"
# CT_INSERT_VERSION_ABOVE
# Don't remove above line!
config LIBC_V_snapshot
bool
prompt "latest snapshot (EXPERIMENTAL)"
depends on EXPERIMENTAL
config LIBC_V_specific_date
bool
prompt "<specific date> (EXPERIMENTAL)"
depends on EXPERIMENTAL
endchoice
config LIBC_VERSION
string
prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
default "snapshot" if LIBC_V_snapshot
default "0.9.28" if LIBC_V_0_9_28
default "0.9.28.1" if LIBC_V_0_9_28_1
default "0.9.28.2" if LIBC_V_0_9_28_2
default "0.9.28.3" if LIBC_V_0_9_28_3
default "0.9.29" if LIBC_V_0_9_29
default "0.9.30" if LIBC_V_0_9_30
default "0.9.30.1" if LIBC_V_0_9_30_1
# CT_INSERT_VERSION_STRING_ABOVE
# Don't remove above line!
config LIBC_UCLIBC_PARALLEL
bool
prompt "Build uClibc in //" if LIBC_V_snapshot || LIBC_V_specific_date
default n
help
Build uClibc using parallel jobs.
Some 'old' versions won't build in //, but it works starting with
0.9.30 release candidates.
choice
bool
prompt "uClibc verbosity:"
default LIBC_UCLIBC_VERBOSITY_0
config LIBC_UCLIBC_VERBOSITY_0
bool
prompt "Simplified"
help
Print simplified command lines.
config LIBC_UCLIBC_VERBOSITY_1
bool
prompt "Full commands"
help
Print full command lines.
endchoice
config LIBC_UCLIBC_VERBOSITY
string
default "" if LIBC_UCLIBC_VERBOSITY_0
default "V=1" if LIBC_UCLIBC_VERBOSITY_1
choice
bool
prompt "Debug level"
default LIBC_UCLIBC_DEBUG_LEVEL_0
config LIBC_UCLIBC_DEBUG_LEVEL_0
bool
prompt "none"
config LIBC_UCLIBC_DEBUG_LEVEL_1
bool
prompt "minimal"
config LIBC_UCLIBC_DEBUG_LEVEL_2
bool
prompt "all"
endchoice
config LIBC_UCLIBC_DEBUG_LEVEL
int
default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
config LIBC_UCLIBC_BUILD_CROSS_LDD
bool
prompt "Build cross-ldd"
default y
help
Say 'y' here to build a cross-ldd to run in the host.
Building a cross-ldd only works on ELF systems, that is,
if you build under Cygwin, you *must* say 'n' here.
config LIBC_UCLIBC_CONFIG_FILE
string
prompt "Configuration file"
default ""
help
Path to the configuration file.
You _must_ provide one (for now).
config LIBC_UCLIBC_LOCALES
bool
prompt "Add support for locales"
default n
help
Say y if you want uClibc to support localisation.
Note that seems to be broken on recent uClibc releases.