crosstool-ng/config/libc/uClibc.in
Yann E. MORIN" b81d232a9b kernel: add mingw
Add the option to build a cross-compiler for kernel type 'mingw'.
The resulting cross-compiler can be used to build applications on a Linux host
that can be run on a Windows target.

Compiler is build using the mingwrt and w32-api packages aviable from the
MinGW project (http://sourceforge.net/projects/mingw).

The windows headers (w32-api package) are extracting with the kernel_headers
step The libraries and other headers from both packages are build and
installed in the various steps of libc

Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com>
[yann.morin.1998@anciens.enib.fr: fix kernel headers comment, don't "return 0"]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-07-11 21:36:20 +02:00

175 lines
3.8 KiB
Plaintext

# uClibc options
# depends on ! MINGW32 && ! 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"
# Don't remove next line
# CT_INSERT_VERSION_BELOW
config LIBC_UCLIBC_V_0_9_31
bool
prompt "0.9.31 (EXPERIMENTAL)"
depends on EXPERIMENTAL
select LIBC_UCLIBC_0_9_30_or_later
config LIBC_UCLIBC_V_0_9_30_2
bool
prompt "0.9.30.2"
select LIBC_UCLIBC_0_9_30_or_later
config LIBC_V_0_9_30_1
bool
prompt "0.9.30.1"
select LIBC_UCLIBC_0_9_30_or_later
config LIBC_V_0_9_30
bool
prompt "0.9.30"
select LIBC_UCLIBC_0_9_30_or_later
config LIBC_V_0_9_29
bool
prompt "0.9.29 (OBSOLETE)"
depends on OBSOLETE
config LIBC_V_0_9_28_3
bool
prompt "0.9.28.3 (OBSOLETE)"
depends on OBSOLETE
# As of today (20100702) we can be pretty sure that every
# snapshots made since a month ago are post -0.9.30.
config LIBC_V_snapshot
bool
prompt "latest snapshot (EXPERIMENTAL)"
depends on EXPERIMENTAL
select LIBC_SUPPORT_NPTL
select LIBC_UCLIBC_0_9_30_or_later
config LIBC_V_specific_date
bool
prompt "<specific date> (EXPERIMENTAL)"
depends on EXPERIMENTAL
select LIBC_SUPPORT_NPTL
select LIBC_UCLIBC_0_9_30_or_later
endchoice
config LIBC_VERSION
string
prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
default "0.9.31" if LIBC_UCLIBC_V_0_9_31
default "0.9.30.2" if LIBC_UCLIBC_V_0_9_30_2
default "0.9.30.1" if LIBC_V_0_9_30_1
default "0.9.30" if LIBC_V_0_9_30
default "0.9.29" if LIBC_V_0_9_29
default "0.9.28.3" if LIBC_V_0_9_28_3
default "snapshot" if LIBC_V_snapshot
config LIBC_UCLIBC_0_9_30_or_later
bool
default n
select LIBC_UCLIBC_PARALLEL
config LIBC_UCLIBC_PARALLEL
bool
default n
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
select LIBC_UCLIBC_WCHAR
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.
config LIBC_UCLIBC_WCHAR
bool
prompt "Add support for WCHAR"
default n
help
Say y if you want uClibc to support WCHAR.
Maybe this is needed, if you're building a C++-Compiler