config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 14 18:09:36 2008 +0000 (2008-09-14)
changeset 852 c17bb66e2aa5
parent 808 0949a87e1629
child 865 04cf91f13430
permissions -rw-r--r--
Enhance setting the minimum kernel version glibc will run against.
Ideally, eglibc should also benefit for that, but the current code does not set it.

/trunk/scripts/build/libc/glibc.sh | 38 33 5 0 +++++++++++++++---
/trunk/config/libc/glibc.in | 4 2 2 0 +-
/trunk/config/libc/uClibc.in | 2 2 0 0 +
/trunk/config/libc/eglibc.in | 4 2 2 0 +-
/trunk/config/libc/glibc-eglibc-common.in | 80 68 12 0 +++++++++++++++++++++++++++++++------
/trunk/config/libc.in | 69 38 31 0 ++++++++++++++++++--------------
6 files changed, 145 insertions(+), 52 deletions(-)
yann@787
     1
# eglibc options
yann@787
     2
yann@852
     3
comment "eglibc specific options"
yann@852
     4
yann@787
     5
choice
yann@787
     6
    bool
yann@787
     7
    prompt "eglibc version"
yann@787
     8
yann@787
     9
config EGLIBC_V_TRUNK
yann@787
    10
    bool
yann@787
    11
    prompt "'trunk'"
yann@787
    12
    help
yann@787
    13
      Selecting this will export the trunk of the eglibc subversion repository.
yann@787
    14
yann@787
    15
config EGLIBC_V_2_5
yann@787
    16
    bool
yann@787
    17
    prompt "2.5"
yann@787
    18
yann@787
    19
config EGLIBC_V_2_6
yann@787
    20
    bool
yann@787
    21
    prompt "2.6"
yann@787
    22
yann@787
    23
config EGLIBC_V_2_7
yann@787
    24
    bool
yann@787
    25
    prompt "2.7"
yann@787
    26
yann@787
    27
config EGLIBC_V_2_8
yann@787
    28
    bool
yann@787
    29
    prompt "2.8"
yann@787
    30
yann@787
    31
# CT_INSERT_VERSION_ABOVE
yann@787
    32
# Don't remove above line!
yann@787
    33
endchoice
yann@787
    34
yann@787
    35
config LIBC_VERSION
yann@787
    36
    string
yann@787
    37
    default "trunk" if EGLIBC_V_TRUNK
yann@787
    38
    default "2_5" if EGLIBC_V_2_5
yann@787
    39
    default "2_6" if EGLIBC_V_2_6
yann@787
    40
    default "2_7" if EGLIBC_V_2_7
yann@787
    41
    default "2_8" if EGLIBC_V_2_8
yann@787
    42
# CT_INSERT_VERSION_STRING_ABOVE
yann@787
    43
# Don't remove above line!
yann@787
    44
yann@787
    45
config EGLIBC_REVISION
yann@787
    46
    string
yann@787
    47
    prompt "Revision to use"
yann@787
    48
    default "HEAD"
yann@787
    49
    help
yann@787
    50
      Enter the revision of trunk you want to use.
yann@787
    51
      Default is HEAD.
yann@787
    52
      
yann@787
    53
      A revision argument can be one of:
yann@787
    54
          NUMBER       revision number
yann@787
    55
          '{' DATE '}' revision at start of the date (*)
yann@787
    56
          'HEAD'       latest in repository
yann@787
    57
      
yann@787
    58
      (*) If you want to use a date, please use ISO-8601 formats if
yann@787
    59
          at all possible.
yann@787
    60
yann@787
    61
config EGLIBC_CHECKOUT
yann@787
    62
    bool
yann@787
    63
    prompt "checkout instead of export"
yann@787
    64
    default y if EGLIBC_V_TRUNK
yann@787
    65
    default n if ! EGLIBC_V_TRUNK
yann@787
    66
    help
yann@787
    67
      By default, the eglibc download will be an export of the subversion
yann@787
    68
      repository. If you say 'y' here, then the repository will instead be
yann@787
    69
      checked-out, so that you can update it later.
yann@787
    70
      
yann@787
    71
      Note that crosstool-NG will *not* update your working copy, you will
yann@787
    72
      have to do that yourself.