[toolchain] eglibc: use 'select' instead of 'depends' for configuration options, add dependencies for features avalaible in 2.8 or later

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17751 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Nicolas Thill 2009-09-26 21:22:51 +00:00
parent f5007fbcc3
commit bedbad16bc
1 changed files with 14 additions and 13 deletions

View File

@ -1,7 +1,7 @@
config EGLIBC_OPTION_EGLIBC_ADVANCED_INET6 config EGLIBC_OPTION_EGLIBC_ADVANCED_INET6
bool "IPv6 Advanced Sockets API support (RFC3542)" bool "IPv6 Advanced Sockets API support (RFC3542)"
default y default y
depends EGLIBC_OPTION_EGLIBC_INET select EGLIBC_OPTION_EGLIBC_INET
help help
This option group includes the functions specified by RFC 3542, This option group includes the functions specified by RFC 3542,
"Advanced Sockets Application Program Interface (API) for "Advanced Sockets Application Program Interface (API) for
@ -64,8 +64,8 @@ config EGLIBC_OPTION_EGLIBC_BSD
config EGLIBC_OPTION_EGLIBC_CXX_TESTS config EGLIBC_OPTION_EGLIBC_CXX_TESTS
bool "Tests that link against the standard C++ library." bool "Tests that link against the standard C++ library."
default y default y
depends EGLIBC_OPTION_POSIX_WIDE_CHAR_DEVICE_IO select EGLIBC_OPTION_POSIX_WIDE_CHAR_DEVICE_IO
depends EGLIBC_OPTION_EGLIBC_LIBM select EGLIBC_OPTION_EGLIBC_LIBM
help help
This option group does not include any C library functions; This option group does not include any C library functions;
instead, it controls which EGLIBC tests an ordinary 'make instead, it controls which EGLIBC tests an ordinary 'make
@ -80,7 +80,7 @@ config EGLIBC_OPTION_EGLIBC_CXX_TESTS
config EGLIBC_OPTION_EGLIBC_CATGETS config EGLIBC_OPTION_EGLIBC_CATGETS
bool "Functions for accessing message catalogs" bool "Functions for accessing message catalogs"
default y default y
depends EGLIBC_OPTION_EGLIBC_LOCALE_CODE select EGLIBC_OPTION_EGLIBC_LOCALE_CODE
help help
This option group includes functions for accessing message This option group includes functions for accessing message
catalogs: catopen, catclose, and catgets. catalogs: catopen, catclose, and catgets.
@ -246,7 +246,7 @@ config OPTION_EGLIBC_FTRAVERSE
config EGLIBC_OPTION_EGLIBC_GETLOGIN config EGLIBC_OPTION_EGLIBC_GETLOGIN
bool "The getlogin function" bool "The getlogin function"
default y default y
depends EGLIBC_OPTION_EGLIBC_UTMP select EGLIBC_OPTION_EGLIBC_UTMP
help help
This function group includes the 'getlogin' and 'getlogin_r' This function group includes the 'getlogin' and 'getlogin_r'
functions, which return the user name associated by the login functions, which return the user name associated by the login
@ -413,7 +413,7 @@ config EGLIBC_OPTION_EGLIBC_LOCALES
config EGLIBC_OPTION_EGLIBC_LOCALE_CODE config EGLIBC_OPTION_EGLIBC_LOCALE_CODE
bool "Locale functions" bool "Locale functions"
default y default y
depends EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR select EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR if EGLIBC_VERSION_2_8 || EGLIBC_VERSION_2_9 || EGLIBC_VERSION_2_10
help help
This option group includes locale support functions, programs, This option group includes locale support functions, programs,
and libraries. With EGLIBC_LOCALE_FUNCTIONS disabled, and libraries. With EGLIBC_LOCALE_FUNCTIONS disabled,
@ -437,8 +437,8 @@ config EGLIBC_OPTION_EGLIBC_LOCALE_CODE
config EGLIBC_OPTION_EGLIBC_NIS config EGLIBC_OPTION_EGLIBC_NIS
bool "Support for NIS, NIS+, and the special 'compat' services." bool "Support for NIS, NIS+, and the special 'compat' services."
default y default y
depends EGLIBC_OPTION_EGLIBC_INET select EGLIBC_OPTION_EGLIBC_INET
depends EGLIBC_OPTION_EGLIBC_SUNRPC select EGLIBC_OPTION_EGLIBC_SUNRPC
help help
This option group includes the NIS, NIS+, and 'compat' Name This option group includes the NIS, NIS+, and 'compat' Name
Service Switch service libraries. When it is disabled, those Service Switch service libraries. When it is disabled, those
@ -529,7 +529,7 @@ config EGLIBC_OPTION_EGLIBC_NSSWITCH
config EGLIBC_OPTION_EGLIBC_RCMD config EGLIBC_OPTION_EGLIBC_RCMD
bool "Support for 'rcmd' and related library functions" bool "Support for 'rcmd' and related library functions"
default y default y
depends EGLIBC_OPTION_EGLIBC_INET select EGLIBC_OPTION_EGLIBC_INET
help help
This option group includes functions for running commands on This option group includes functions for running commands on
remote machines via the 'rsh' protocol, and doing authentication remote machines via the 'rsh' protocol, and doing authentication
@ -602,7 +602,7 @@ config EGLIBC_OPTION_EGLIBC_STREAMS
config EGLIBC_OPTION_EGLIBC_SUNRPC config EGLIBC_OPTION_EGLIBC_SUNRPC
bool "Support for the Sun 'RPC' protocol." bool "Support for the Sun 'RPC' protocol."
default y default y
depends EGLIBC_OPTION_EGLIBC_INET select EGLIBC_OPTION_EGLIBC_INET
help help
This option group includes support for the Sun RPC protocols, This option group includes support for the Sun RPC protocols,
including the 'rpcgen' and 'rpcinfo' programs. including the 'rpcgen' and 'rpcinfo' programs.
@ -638,7 +638,7 @@ config EGLIBC_OPTION_EGLIBC_UTMP
config EGLIBC_OPTION_EGLIBC_UTMPX config EGLIBC_OPTION_EGLIBC_UTMPX
bool "POSIX access functions for 'utmp' login records" bool "POSIX access functions for 'utmp' login records"
default y default y
depends EGLIBC_OPTION_EGLIBC_UTMP select EGLIBC_OPTION_EGLIBC_UTMP
help help
This option group includes the POSIX functions for reading and This option group includes the POSIX functions for reading and
writing user login records in the 'utmp' file (usually writing user login records in the 'utmp' file (usually
@ -670,6 +670,7 @@ config EGLIBC_OPTION_EGLIBC_WORDEXP
config EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR config EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR
bool "ISO C library wide character functions, excluding I/O" bool "ISO C library wide character functions, excluding I/O"
default y default y
depends EGLIBC_VERSION_2_8 || EGLIBC_VERSION_2_9 || EGLIBC_VERSION_2_10
help help
This option group includes the functions defined by the ISO C This option group includes the functions defined by the ISO C
standard for working with wide and multibyte characters in standard for working with wide and multibyte characters in
@ -722,7 +723,7 @@ config EGLIBC_OPTION_POSIX_REGEXP
config EGLIBC_OPTION_POSIX_REGEXP_GLIBC config EGLIBC_OPTION_POSIX_REGEXP_GLIBC
bool "Regular expressions from GLIBC" bool "Regular expressions from GLIBC"
default y default y
depends EGLIBC_OPTION_POSIX_REGEXP select EGLIBC_OPTION_POSIX_REGEXP
depends EGLIBC_VERSION_2_10 depends EGLIBC_VERSION_2_10
help help
This option group specifies which regular expression This option group specifies which regular expression
@ -735,7 +736,7 @@ config EGLIBC_OPTION_POSIX_REGEXP_GLIBC
config EGLIBC_OPTION_POSIX_WIDE_CHAR_DEVICE_IO config EGLIBC_OPTION_POSIX_WIDE_CHAR_DEVICE_IO
bool "Input and output functions for wide characters" bool "Input and output functions for wide characters"
default y default y
depends EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR select EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR if EGLIBC_VERSION_2_8 || EGLIBC_VERSION_2_9 || EGLIBC_VERSION_2_10
help help
This option group includes functions for reading and writing This option group includes functions for reading and writing
wide characters to and from <stdio.h> streams. wide characters to and from <stdio.h> streams.