2008-08-11 12:22:47 +00:00
|
|
|
# eglibc options
|
|
|
|
|
2011-05-08 17:02:44 +00:00
|
|
|
## depends on ! MINGW32 && ! BARE_METAL && ARCH_USE_MMU
|
|
|
|
##
|
|
|
|
## select LIBC_SUPPORT_NPTL
|
|
|
|
## select LIBC_SUPPORT_LINUXTHREADS
|
|
|
|
##
|
|
|
|
## help EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC
|
|
|
|
## help that is designed to work well on embedded systems. EGLIBC strives
|
|
|
|
## help to be source and binary compatible with GLIBC. Its goals include
|
|
|
|
## help a reduced footprint, configurable components, and improved
|
|
|
|
## help cross-compilation support. EGLIBC also includes some embedded ports
|
|
|
|
## help (such as e500/spe) that are normally separate add-ons of GLIBC.
|
2008-09-14 18:09:36 +00:00
|
|
|
|
2008-08-11 12:22:47 +00:00
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "eglibc version"
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_BELOW
|
2008-08-11 12:22:47 +00:00
|
|
|
|
2011-06-22 03:52:08 +00:00
|
|
|
config LIBC_EGLIBC_V_2_14
|
|
|
|
bool
|
|
|
|
prompt "2_14"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select LIBC_EGLIBC_2_14_or_later
|
|
|
|
|
2011-02-12 16:30:53 +00:00
|
|
|
config LIBC_EGLIBC_V_2_13
|
|
|
|
bool
|
|
|
|
prompt "2_13"
|
|
|
|
depends on EXPERIMENTAL
|
2011-05-31 18:55:30 +00:00
|
|
|
select LIBC_EGLIBC_2_13_or_later
|
2011-02-12 16:30:53 +00:00
|
|
|
|
2011-01-02 21:33:04 +00:00
|
|
|
config LIBC_EGLIBC_V_2_12
|
2010-10-19 06:32:02 +00:00
|
|
|
bool
|
|
|
|
prompt "2_12"
|
2011-05-31 18:55:30 +00:00
|
|
|
select LIBC_EGLIBC_2_12_or_later
|
2010-10-19 06:32:02 +00:00
|
|
|
|
2011-01-02 21:33:04 +00:00
|
|
|
config LIBC_EGLIBC_V_2_11
|
2010-10-19 06:32:02 +00:00
|
|
|
bool
|
|
|
|
prompt "2_11"
|
2011-05-31 18:55:30 +00:00
|
|
|
select LIBC_EGLIBC_2_11_or_later
|
2010-10-19 06:32:02 +00:00
|
|
|
|
2011-01-02 21:33:04 +00:00
|
|
|
config LIBC_EGLIBC_V_2_10
|
2008-08-11 12:22:47 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "2_10"
|
2011-05-31 18:55:30 +00:00
|
|
|
select LIBC_EGLIBC_2_10_or_later
|
2008-08-11 12:22:47 +00:00
|
|
|
|
2011-01-02 21:33:04 +00:00
|
|
|
config LIBC_EGLIBC_V_2_9
|
2008-08-11 12:22:47 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "2_9"
|
2011-05-31 18:55:30 +00:00
|
|
|
select LIBC_EGLIBC_2_9_or_later
|
2008-08-11 12:22:47 +00:00
|
|
|
|
2011-01-02 21:33:04 +00:00
|
|
|
config LIBC_EGLIBC_V_2_8
|
2008-08-11 12:22:47 +00:00
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "2_8 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2009-02-02 21:07:07 +00:00
|
|
|
|
2011-01-02 21:33:04 +00:00
|
|
|
config LIBC_EGLIBC_V_2_7
|
2009-02-02 21:07:07 +00:00
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "2_7 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2008-08-11 12:22:47 +00:00
|
|
|
|
2011-01-02 21:33:04 +00:00
|
|
|
config LIBC_EGLIBC_V_2_6
|
2009-08-02 21:33:37 +00:00
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "2_6 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2009-09-13 15:51:33 +00:00
|
|
|
|
2011-01-02 21:33:04 +00:00
|
|
|
config LIBC_EGLIBC_V_2_5
|
2009-09-13 15:51:33 +00:00
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "2_5 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2009-08-02 21:33:37 +00:00
|
|
|
|
2011-01-02 21:33:04 +00:00
|
|
|
config LIBC_EGLIBC_V_TRUNK
|
2008-09-18 09:22:25 +00:00
|
|
|
bool
|
|
|
|
prompt "'trunk'"
|
2011-06-22 03:52:08 +00:00
|
|
|
select LIBC_EGLIBC_2_14_or_later
|
2008-09-18 09:22:25 +00:00
|
|
|
help
|
|
|
|
Selecting this will export the trunk of the eglibc subversion repository.
|
|
|
|
|
2008-08-11 12:22:47 +00:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config LIBC_VERSION
|
|
|
|
string
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
2011-06-22 03:52:08 +00:00
|
|
|
default "2_14" if LIBC_EGLIBC_V_2_14
|
2011-02-12 16:30:53 +00:00
|
|
|
default "2_13" if LIBC_EGLIBC_V_2_13
|
2011-01-02 21:33:04 +00:00
|
|
|
default "2_12" if LIBC_EGLIBC_V_2_12
|
|
|
|
default "2_11" if LIBC_EGLIBC_V_2_11
|
|
|
|
default "2_10" if LIBC_EGLIBC_V_2_10
|
|
|
|
default "2_9" if LIBC_EGLIBC_V_2_9
|
|
|
|
default "2_8" if LIBC_EGLIBC_V_2_8
|
|
|
|
default "2_7" if LIBC_EGLIBC_V_2_7
|
|
|
|
default "2_6" if LIBC_EGLIBC_V_2_6
|
|
|
|
default "2_5" if LIBC_EGLIBC_V_2_5
|
|
|
|
default "trunk" if LIBC_EGLIBC_V_TRUNK
|
2008-08-11 12:22:47 +00:00
|
|
|
|
2011-06-22 03:52:08 +00:00
|
|
|
config LIBC_EGLIBC_2_14_or_later
|
|
|
|
bool
|
|
|
|
select LIBC_EGLIBC_2_13_or_later
|
|
|
|
|
2011-05-31 18:55:30 +00:00
|
|
|
config LIBC_EGLIBC_2_13_or_later
|
|
|
|
bool
|
|
|
|
select LIBC_EGLIBC_2_12_or_later
|
|
|
|
|
|
|
|
config LIBC_EGLIBC_2_12_or_later
|
|
|
|
bool
|
|
|
|
select LIBC_EGLIBC_2_11_or_later
|
|
|
|
|
|
|
|
config LIBC_EGLIBC_2_11_or_later
|
|
|
|
bool
|
|
|
|
select LIBC_EGLIBC_2_10_or_later
|
|
|
|
|
|
|
|
config LIBC_EGLIBC_2_10_or_later
|
|
|
|
bool
|
|
|
|
select LIBC_EGLIBC_2_9_or_later
|
|
|
|
|
|
|
|
config LIBC_EGLIBC_2_9_or_later
|
|
|
|
bool
|
|
|
|
select LIBC_EGLIBC_HAS_PKGVERSION_BUGURL
|
|
|
|
|
|
|
|
config LIBC_EGLIBC_HAS_PKGVERSION_BUGURL
|
|
|
|
bool
|
|
|
|
|
2011-08-01 20:46:57 +00:00
|
|
|
if CONFIGURE_has_svn
|
|
|
|
|
2008-08-11 12:22:47 +00:00
|
|
|
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.
|
|
|
|
|
2011-06-30 16:14:01 +00:00
|
|
|
config EGLIBC_HTTP
|
|
|
|
bool
|
|
|
|
prompt "use http:// instead of svn://"
|
|
|
|
help
|
|
|
|
By default, when eglibc is downloaded it is checked out using
|
|
|
|
svn://svn.eglibc.org. This option allows you to download eglibc
|
|
|
|
from http://www.eglibc.org, if you are behind a proxy or firewall.
|
|
|
|
If you are behind a proxy, don't forget to update your
|
|
|
|
.subversion/servers file with your proxy info in [global].
|
|
|
|
|
2008-08-11 12:22:47 +00:00
|
|
|
config EGLIBC_CHECKOUT
|
|
|
|
bool
|
|
|
|
prompt "checkout instead of export"
|
2011-01-02 21:33:04 +00:00
|
|
|
default y if LIBC_EGLIBC_V_TRUNK
|
2008-08-11 12:22:47 +00:00
|
|
|
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.
|
2009-10-09 14:22:09 +00:00
|
|
|
|
2011-08-01 20:46:57 +00:00
|
|
|
endif # ! CONFIGURE_has_svn
|
|
|
|
if ! CONFIGURE_has_svn
|
|
|
|
|
|
|
|
comment "svn is missing. You'll have to either:"
|
|
|
|
comment "| - have a pre-downloaded local tarball"
|
|
|
|
comment "| - or have a LAN mirror with a pre-downloaded tarball"
|
|
|
|
comment "otherwise you won't be able to download eglibc"
|
|
|
|
|
|
|
|
endif # ! CONFIGURE_has_svn
|
|
|
|
|
2010-02-01 12:56:28 +00:00
|
|
|
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.
|
|
|
|
|
2009-10-09 14:22:09 +00:00
|
|
|
config EGLIBC_CUSTOM_CONFIG
|
|
|
|
bool
|
|
|
|
prompt "Use custom configuration file"
|
|
|
|
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
|