config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Oct 13 11:23:51 2008 +0000 (2008-10-13)
changeset 922 3f0456891349
parent 865 04cf91f13430
child 1195 b6b576b16e7c
permissions -rw-r--r--
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(-)
     1 # EXPERIMENTAL
     2 # eglibc options
     3 
     4 config LIBC_eglibc
     5     select LIBC_SUPPORT_NPTL
     6     select LIBC_SUPPORT_LINUXTHREADS
     7     help
     8       EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC
     9       that is designed to work well on embedded systems.  EGLIBC strives
    10       to be source and binary compatible with GLIBC.  Its goals include
    11       a reduced footprint, configurable components, and improved
    12       cross-compilation support.  EGLIBC also includes some embedded ports
    13       (such as e500/spe) that are normally separate add-ons of GLIBC.
    14 
    15 choice
    16     bool
    17     prompt "eglibc version"
    18 
    19 config EGLIBC_V_2_5
    20     bool
    21     prompt "2.5"
    22 
    23 config EGLIBC_V_2_6
    24     bool
    25     prompt "2.6"
    26 
    27 config EGLIBC_V_2_7
    28     bool
    29     prompt "2.7"
    30 
    31 config EGLIBC_V_2_8
    32     bool
    33     prompt "2.8"
    34 
    35 # CT_INSERT_VERSION_ABOVE
    36 # Don't remove above line!
    37 
    38 config EGLIBC_V_TRUNK
    39     bool
    40     prompt "'trunk'"
    41     help
    42       Selecting this will export the trunk of the eglibc subversion repository.
    43 
    44 endchoice
    45 
    46 config LIBC_VERSION
    47     string
    48     default "trunk" if EGLIBC_V_TRUNK
    49     default "2_5" if EGLIBC_V_2_5
    50     default "2_6" if EGLIBC_V_2_6
    51     default "2_7" if EGLIBC_V_2_7
    52     default "2_8" if EGLIBC_V_2_8
    53 # CT_INSERT_VERSION_STRING_ABOVE
    54 # Don't remove above line!
    55 
    56 config EGLIBC_REVISION
    57     string
    58     prompt "Revision to use"
    59     default "HEAD"
    60     help
    61       Enter the revision of trunk you want to use.
    62       Default is HEAD.
    63       
    64       A revision argument can be one of:
    65           NUMBER       revision number
    66           '{' DATE '}' revision at start of the date (*)
    67           'HEAD'       latest in repository
    68       
    69       (*) If you want to use a date, please use ISO-8601 formats if
    70           at all possible.
    71 
    72 config EGLIBC_CHECKOUT
    73     bool
    74     prompt "checkout instead of export"
    75     default y if EGLIBC_V_TRUNK
    76     default n if ! EGLIBC_V_TRUNK
    77     help
    78       By default, the eglibc download will be an export of the subversion
    79       repository. If you say 'y' here, then the repository will instead be
    80       checked-out, so that you can update it later.
    81       
    82       Note that crosstool-NG will *not* update your working copy, you will
    83       have to do that yourself.