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