crosstool-ng/config/libc/eglibc.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

156 lines
4.3 KiB
Plaintext

# eglibc options
# depends on ! MINGW32 && ! BARE_METAL && ARCH_USE_MMU
config LIBC_eglibc
select LIBC_SUPPORT_NPTL
select LIBC_SUPPORT_LINUXTHREADS
help
EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC
that is designed to work well on embedded systems. EGLIBC strives
to be source and binary compatible with GLIBC. Its goals include
a reduced footprint, configurable components, and improved
cross-compilation support. EGLIBC also includes some embedded ports
(such as e500/spe) that are normally separate add-ons of GLIBC.
choice
bool
prompt "eglibc version"
# Don't remove next line
# CT_INSERT_VERSION_BELOW
config LIBC_V_2_10
bool
prompt "2_10"
config EGLIBC_V_2_9
bool
prompt "2_9"
config EGLIBC_V_2_8
bool
prompt "2_8 (OBSOLETE)"
depends on OBSOLETE
config EGLIBC_V_2_7
bool
prompt "2_7 (OBSOLETE)"
depends on OBSOLETE
config EGLIBC_V_2_6
bool
prompt "2_6 (OBSOLETE)"
depends on OBSOLETE
config EGLIBC_V_2_5
bool
prompt "2_5 (OBSOLETE)"
depends on OBSOLETE
config EGLIBC_V_TRUNK
bool
prompt "'trunk'"
help
Selecting this will export the trunk of the eglibc subversion repository.
endchoice
config LIBC_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
default "2_10" if LIBC_V_2_10
default "2_9" if EGLIBC_V_2_9
default "2_8" if EGLIBC_V_2_8
default "2_7" if EGLIBC_V_2_7
default "2_6" if EGLIBC_V_2_6
default "2_5" if EGLIBC_V_2_5
default "trunk" if EGLIBC_V_TRUNK
config EGLIBC_REVISION
string
prompt "Revision to use"
default "HEAD"
help
Enter the revision of trunk you want to use.
Default is HEAD.
A revision argument can be one of:
NUMBER revision number
'{' DATE '}' revision at start of the date (*)
'HEAD' latest in repository
(*) If you want to use a date, please use ISO-8601 formats if
at all possible.
config EGLIBC_CHECKOUT
bool
prompt "checkout instead of export"
default y if EGLIBC_V_TRUNK
default n if ! EGLIBC_V_TRUNK
help
By default, the eglibc download will be an export of the subversion
repository. If you say 'y' here, then the repository will instead be
checked-out, so that you can update it later.
Note that crosstool-NG will *not* update your working copy, you will
have to do that yourself.
config EGLIBC_OPT_SIZE
bool
prompt "optimize eglibc for size (-Os)"
help
Optimize eglibc for size using -Os instead of -O2. This will make eglibc
smaller but may make it slower.
config EGLIBC_CUSTOM_CONFIG
bool
prompt "Use custom configuration file"
default n
help
Use a custom configuration file to disable some features in the eglibc
library. The configuration file options are described in detail in the
option-groups.def file in the eglibc source directory.
if EGLIBC_CUSTOM_CONFIG
config EGLIBC_OPTION_GROUPS_FILE
string
prompt "Path to the option-groups configuration file"
default ""
help
Path to the option groups configuration file.
config EGLIBC_BUNDLED_NSS_CONFIG
bool
prompt "Use bundled NSS config file"
default y
help
Use minimal nsswitch configuration file bundled in eglibc.
This option is only meaningful when runtime nss configuration
is disabled in the option groups file.
config EGLIBC_NSS_CONFIG_FILE
string
prompt "Path to the NSS config file"
default ""
depends on !EGLIBC_BUNDLED_NSS_CONFIG
help
Path to the nsswitch configuration file
config EGLIBC_BUNDLED_NSS_FUNCTIONS
bool
prompt "Use bundled NSS functions file"
default y
help
Use minimal nsswitch functions file bundled in eglibc.
This option is only meaningful when runtime nss configuration
is disabled in the option groups file.
config EGLIBC_NSS_FUNCTIONS_FILE
string
prompt "Path to the NSS functions file"
default ""
depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
help
Path to the nsswitch functions file
endif