diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-13 11:23:51 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-13 11:23:51 +0000 |
commit | d2fe51a715cf16f94abb23b34b48549b0d63d4e4 (patch) | |
tree | e1f0de8f4d8635afdc1ddfb521720c17cd2ebd7e /config/libc | |
parent | f9838b0853e5604a9c61a22134c824f876004800 (diff) | |
download | crosstool-ng-d2fe51a715cf16f94abb23b34b48549b0d63d4e4.tar.gz crosstool-ng-d2fe51a715cf16f94abb23b34b48549b0d63d4e4.tar.bz2 crosstool-ng-d2fe51a715cf16f94abb23b34b48549b0d63d4e4.zip |
Generate the choice menu for C libraries, the same way arch and kernels are generated.
/trunk/kconfig/kconfig.mk | 10 8 2 0 ++++++--
/trunk/scripts/build/libc/glibc.sh | 2 1 1 0 +-
/trunk/config/libc/glibc.in | 22 6 16 0 +++++-------------
/trunk/config/libc/uClibc.in | 7 6 1 0 +++++-
/trunk/config/libc/eglibc.in | 12 11 1 0 +++++++++-
/trunk/config/libc.in | 53 4 49 0 +++-----------------------------------------
6 files changed, 36 insertions(+), 70 deletions(-)
Diffstat (limited to 'config/libc')
-rw-r--r-- | config/libc/eglibc.in | 12 | ||||
-rw-r--r-- | config/libc/glibc-eglibc.in-common (renamed from config/libc/glibc-eglibc-common.in) | 0 | ||||
-rw-r--r-- | config/libc/glibc.in | 22 | ||||
-rw-r--r-- | config/libc/uClibc.in | 7 |
4 files changed, 23 insertions, 18 deletions
diff --git a/config/libc/eglibc.in b/config/libc/eglibc.in index bf0e4ed0..bcda3384 100644 --- a/config/libc/eglibc.in +++ b/config/libc/eglibc.in @@ -1,6 +1,16 @@ +# EXPERIMENTAL # eglibc options -comment "eglibc specific options" +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 diff --git a/config/libc/glibc-eglibc-common.in b/config/libc/glibc-eglibc.in-common index 61becfb4..61becfb4 100644 --- a/config/libc/glibc-eglibc-common.in +++ b/config/libc/glibc-eglibc.in-common diff --git a/config/libc/glibc.in b/config/libc/glibc.in index 250a56bc..12c3192d 100644 --- a/config/libc/glibc.in +++ b/config/libc/glibc.in @@ -1,6 +1,11 @@ # glibc options -comment "glibc specific options" +config LIBC_glibc + select LIBC_SUPPORT_NPTL + select LIBC_SUPPORT_LINUXTHREADS + help + The de-facto standard for Linux distributions. + Feature-rich, but large... Most usefull for desktop-like systems. choice bool @@ -60,18 +65,3 @@ config LIBC_VERSION # CT_INSERT_VERSION_STRING_ABOVE # Don't remove above line! -# Please note: This is not used for now (no sh support). -config LIBC_GLIBC_CONFIGPARMS - string -# prompt "Extra config params (READ HELP)" - default "" if ARCH != "sh3" && ARCH != "sh4" - default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4" - help - Some architectures need to set options in the file configparms. - This is the case for sh3/4, which really need to set configparms as of - gcc-3.4/glibc-2.3.2. - - Unless you are building a toolchain for sh3/4, you should leave that empty. - - Note: this is awkward, doesn't work well if you need more than one - line in configparms diff --git a/config/libc/uClibc.in b/config/libc/uClibc.in index a84fae26..c3784f93 100644 --- a/config/libc/uClibc.in +++ b/config/libc/uClibc.in @@ -1,6 +1,11 @@ # uClibc options -comment "uClibc specific options" +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 |