config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 26 16:47:47 2008 +0000 (2008-08-26)
changeset 808 0949a87e1629
parent 787 0725d7f8ab22
child 852 c17bb66e2aa5
permissions -rw-r--r--
Commonalise options common to both glibc and eglibc.

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