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