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