1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 16:43:09 +02:00

[toolchain] eglibc: add support for v2.11

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18522 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2009-11-24 07:03:04 +00:00
parent 3944e3b1bf
commit aa0f3a7780
4 changed files with 51 additions and 8 deletions

View File

@ -20,6 +20,10 @@ choice
config EGLIBC_VERSION_2_10 config EGLIBC_VERSION_2_10
bool "eglibc 2.10" bool "eglibc 2.10"
config EGLIBC_VERSION_2_11
bool "eglibc 2.11"
depends GCC_VERSION_4_3 || GCC_VERSION_4_4
config EGLIBC_VERSION_TRUNK config EGLIBC_VERSION_TRUNK
bool "eglibc trunk" bool "eglibc trunk"
@ -34,6 +38,7 @@ config EGLIBC_REVISION
default "8587" if EGLIBC_VERSION_2_8 default "8587" if EGLIBC_VERSION_2_8
default "8690" if EGLIBC_VERSION_2_9 default "8690" if EGLIBC_VERSION_2_9
default "9289" if EGLIBC_VERSION_2_10 default "9289" if EGLIBC_VERSION_2_10
default "9306" if EGLIBC_VERSION_2_11
default "HEAD" if EGLIBC_VERSION_TRUNK default "HEAD" if EGLIBC_VERSION_TRUNK
default "" default ""

View File

@ -6,4 +6,5 @@ config EGLIBC_VERSION
default "2.8" if EGLIBC_VERSION_2_8 default "2.8" if EGLIBC_VERSION_2_8
default "2.9" if EGLIBC_VERSION_2_9 default "2.9" if EGLIBC_VERSION_2_9
default "2.10.2" if EGLIBC_VERSION_2_10 default "2.10.2" if EGLIBC_VERSION_2_10
default "2.11 " if EGLIBC_VERSION_2_11
default "trunk" default "trunk"

View File

@ -30,6 +30,9 @@ endif
ifneq ($(CONFIG_EGLIBC_VERSION_2_10),) ifneq ($(CONFIG_EGLIBC_VERSION_2_10),)
PKG_SOURCE_URL:=svn://svn.eglibc.org/branches/eglibc-2_10 PKG_SOURCE_URL:=svn://svn.eglibc.org/branches/eglibc-2_10
endif endif
ifneq ($(CONFIG_EGLIBC_VERSION_2_11),)
PKG_SOURCE_URL:=svn://svn.eglibc.org/branches/eglibc-2_11
endif
ifneq ($(CONFIG_EGLIBC_VERSION_TRUNK),) ifneq ($(CONFIG_EGLIBC_VERSION_TRUNK),)
PKG_SOURCE_URL:=svn://svn.eglibc.org/trunk PKG_SOURCE_URL:=svn://svn.eglibc.org/trunk
endif endif

View File

@ -46,6 +46,17 @@ config EGLIBC_OPTION_EGLIBC_BACKTRACE
backtrace_symbols_fd backtrace_symbols_fd
config EGLIBC_OPTION_EGLIBC_BIG_MACROS
bool "Use extensive inline code"
default y
depends EGLIBC_VERSION_2_11
help
This option group specifies whether certain pieces of code
should be inlined to achieve maximum speed. If this option
group is not selected, function calls will be used instead,
hence reducing the library footprint.
config EGLIBC_OPTION_EGLIBC_BSD config EGLIBC_OPTION_EGLIBC_BSD
bool "BSD-specific functions, and their compatibility stubs" bool "BSD-specific functions, and their compatibility stubs"
default y default y
@ -198,7 +209,7 @@ config EGLIBC_OPTION_EGLIBC_ENVZ
config EGLIBC_OPTION_EGLIBC_FCVT config EGLIBC_OPTION_EGLIBC_FCVT
bool "Functions for converting floating-point numbers to strings" bool "Functions for converting floating-point numbers to strings"
default y default y
depends EGLIBC_VERSION_2_10 depends EGLIBC_VERSION_2_10 || EGLIBC_VERSION_2_11
help help
This option group includes functions for converting This option group includes functions for converting
floating-point numbers to strings. floating-point numbers to strings.
@ -215,7 +226,7 @@ config EGLIBC_OPTION_EGLIBC_FCVT
config EGLIBC_OPTION_EGLIBC_FMTMSG config EGLIBC_OPTION_EGLIBC_FMTMSG
bool "Functions for formatting messages" bool "Functions for formatting messages"
default y default y
depends EGLIBC_VERSION_2_10 depends EGLIBC_VERSION_2_10 || EGLIBC_VERSION_2_11
help help
This option group includes the following functions: This option group includes the following functions:
@ -241,7 +252,7 @@ config EGLIBC_OPTION_EGLIBC_FSTAB
config EGLIBC_OPTION_EGLIBC_FTRAVERSE config EGLIBC_OPTION_EGLIBC_FTRAVERSE
bool "Functions for traversing file hierarchies" bool "Functions for traversing file hierarchies"
default y default y
depends EGLIBC_VERSION_2_10 depends EGLIBC_VERSION_2_10 || EGLIBC_VERSION_2_11
help help
This option group includes functions for traversing file This option group includes functions for traversing file
UNIX file hierachies. UNIX file hierachies.
@ -428,7 +439,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
select EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR if EGLIBC_VERSION_2_8 || EGLIBC_VERSION_2_9 || EGLIBC_VERSION_2_10 select EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR if EGLIBC_VERSION_2_8 || EGLIBC_VERSION_2_9 || EGLIBC_VERSION_2_10 || EGLIBC_VERSION_2_11
help help
This option group includes locale support functions, programs, This option group includes locale support functions, programs,
and libraries. With EGLIBC_OPTION_EGLIBC_LOCALE_CODE disabled, and libraries. With EGLIBC_OPTION_EGLIBC_LOCALE_CODE disabled,
@ -450,6 +461,28 @@ config EGLIBC_OPTION_EGLIBC_LOCALE_CODE
disable EGLIBC_OPTION_EGLIBC_CATGETS. disable EGLIBC_OPTION_EGLIBC_CATGETS.
config EGLIBC_OPTION_EGLIBC_MEMUSAGE
bool "Memory profiling library"
default y
depends EGLIBC_VERSION_2_11
help
This option group includes the `libmemusage' library and
the `memusage' and `memusagestat' utilities.
These components provide memory profiling functions.
EGLIBC_OPTION_EGLIBC_MEMUSAGE_DEFAULT_BUFFER_SIZE
Libmemusage library buffers the profiling data in memory
before writing it out to disk. By default, the library
allocates 1.5M buffer, which can be substantial for some
systems. EGLIBC_OPTION_EGLIBC_MEMUSAGE_DEFAULT_BUFFER_SIZE option
allows to change the default buffer size. It specifies
the number of entries the buffer should have.
On most architectures one buffer entry amounts to 48 bytes,
so setting this option to the value of 512 will reduce the size of
the memory buffer to 24K.
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
@ -468,6 +501,7 @@ config EGLIBC_OPTION_EGLIBC_NIS
config EGLIBC_OPTION_EGLIBC_NSSWITCH config EGLIBC_OPTION_EGLIBC_NSSWITCH
bool "Name service switch (nsswitch) support" bool "Name service switch (nsswitch) support"
default y default y
select EGLIBC_OPTION_EGLIBC_INET
help help
This option group includes support for the 'nsswitch' facility. This option group includes support for the 'nsswitch' facility.
@ -538,7 +572,7 @@ config EGLIBC_OPTION_EGLIBC_NSSWITCH
system actually uses. system actually uses.
Note that some nsswitch service libraries require other option Note that some nsswitch service libraries require other option
groups to be enabled; for example, the EGLIBC_INET groups to be enabled; for example, the EGLIBC_OPTION_EGLIBC_INET
option group must be enabled to use the 'libnss_dns.so.2' option group must be enabled to use the 'libnss_dns.so.2'
service library, which uses the Domain Name System network service library, which uses the Domain Name System network
protocol to answer queries. protocol to answer queries.
@ -695,7 +729,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 depends EGLIBC_VERSION_2_8 || EGLIBC_VERSION_2_9 || EGLIBC_VERSION_2_10 || EGLIBC_VERSION_2_11
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
@ -750,7 +784,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_VERSION_2_10 depends EGLIBC_VERSION_2_10 || EGLIBC_VERSION_2_11
select EGLIBC_OPTION_POSIX_REGEXP select EGLIBC_OPTION_POSIX_REGEXP
help help
This option group specifies which regular expression This option group specifies which regular expression
@ -764,7 +798,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
select EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR if EGLIBC_VERSION_2_8 || EGLIBC_VERSION_2_9 || EGLIBC_VERSION_2_10 select EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR if EGLIBC_VERSION_2_8 || EGLIBC_VERSION_2_9 || EGLIBC_VERSION_2_10 || EGLIBC_VERSION_2_11
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.