config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 13 18:38:06 2009 +0200 (2009-09-13)
changeset 1535 073d351bdcd3
parent 1534 d4ddf19a1968
child 1569 a4e30d311569
permissions -rw-r--r--
scripts: add new version at top of choice

Add new versions at the top of the choice menu, not at the bottom.
     1 # eglibc options
     2 # depends on ! BARE_METAL && ARCH_USE_MMU
     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 # Don't remove next line
    19 # CT_INSERT_VERSION_BELOW
    20 
    21 config LIBC_V_2_10
    22     bool
    23     prompt "2_10"
    24 
    25 config EGLIBC_V_2_9
    26     bool
    27     prompt "2_9"
    28 
    29 config EGLIBC_V_2_8
    30     bool
    31     prompt "2_8"
    32 
    33 config EGLIBC_V_2_7
    34     bool
    35     prompt "2_7"
    36 
    37 config EGLIBC_V_2_6
    38     bool
    39     prompt "2_6"
    40 
    41 config EGLIBC_V_2_5
    42     bool
    43     prompt "2_5"
    44 
    45 config EGLIBC_V_TRUNK
    46     bool
    47     prompt "'trunk'"
    48     help
    49       Selecting this will export the trunk of the eglibc subversion repository.
    50 
    51 endchoice
    52 
    53 config LIBC_VERSION
    54     string
    55 # Don't remove next line
    56 # CT_INSERT_VERSION_STRING_BELOW
    57     default "2_10" if LIBC_V_2_10
    58     default "2_9" if EGLIBC_V_2_9
    59     default "2_8" if EGLIBC_V_2_8
    60     default "2_7" if EGLIBC_V_2_7
    61     default "2_6" if EGLIBC_V_2_6
    62     default "2_5" if EGLIBC_V_2_5
    63     default "trunk" if EGLIBC_V_TRUNK
    64 
    65 config EGLIBC_REVISION
    66     string
    67     prompt "Revision to use"
    68     default "HEAD"
    69     help
    70       Enter the revision of trunk you want to use.
    71       Default is HEAD.
    72       
    73       A revision argument can be one of:
    74           NUMBER       revision number
    75           '{' DATE '}' revision at start of the date (*)
    76           'HEAD'       latest in repository
    77       
    78       (*) If you want to use a date, please use ISO-8601 formats if
    79           at all possible.
    80 
    81 config EGLIBC_CHECKOUT
    82     bool
    83     prompt "checkout instead of export"
    84     default y if EGLIBC_V_TRUNK
    85     default n if ! EGLIBC_V_TRUNK
    86     help
    87       By default, the eglibc download will be an export of the subversion
    88       repository. If you say 'y' here, then the repository will instead be
    89       checked-out, so that you can update it later.
    90       
    91       Note that crosstool-NG will *not* update your working copy, you will
    92       have to do that yourself.