config/libc/glibc.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 710 021546adce69
child 824 cc4590c03dd1
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 # glibc options
     2 
     3 choice
     4     bool
     5     prompt "glibc version"
     6 
     7 config LIBC_V_LATEST
     8     bool
     9     prompt "'latest' snapshot (EXPERIMENTAL)"
    10     depends on EXPERIMENTAL
    11 
    12 config LIBC_V_date
    13     bool
    14     prompt "<specific date> (EXPERIMENTAL)"
    15     depends on EXPERIMENTAL
    16 
    17 config LIBC_V_2_3_6
    18     bool
    19     prompt "2.3.6 (OBSOLETE)"
    20     depends on OBSOLETE
    21 
    22 config LIBC_V_2_5
    23     bool
    24     prompt "2.5"
    25 
    26 config LIBC_V_2_5_1
    27     bool
    28     prompt "2.5.1"
    29 
    30 config LIBC_V_2_6
    31     bool
    32     prompt "2.6"
    33 
    34 config LIBC_V_2_6_1
    35     bool
    36     prompt "2.6.1"
    37 
    38 config LIBC_V_2_7
    39     bool
    40     prompt "2.7"
    41     depends on EXPERIMENTAL
    42 
    43 # CT_INSERT_VERSION_ABOVE
    44 # Don't remove above line!
    45 endchoice
    46 
    47 config LIBC_VERSION
    48     string
    49     prompt "Enter date (YYYYMMDD)" if LIBC_V_date
    50     default "latest" if LIBC_V_LATEST
    51     default "2.3.6" if LIBC_V_2_3_6
    52     default "2.4" if LIBC_V_2_4
    53     default "2.5" if LIBC_V_2_5
    54     default "2.5.1" if LIBC_V_2_5_1
    55     default "2.6" if LIBC_V_2_6
    56     default "2.6.1" if LIBC_V_2_6_1
    57     default "2.7" if LIBC_V_2_7
    58 # CT_INSERT_VERSION_STRING_ABOVE
    59 # Don't remove above line!
    60 
    61 # Please note: This is not used for now (no sh support).
    62 config LIBC_GLIBC_CONFIGPARMS
    63     string
    64 #    prompt "Extra config params (READ HELP)"
    65     default "" if ARCH != "sh3" && ARCH != "sh4"
    66     default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4"
    67     help
    68       Some architectures need to set options in the file configparms.
    69       This is the case for sh3/4, which really need to set configparms as of
    70       gcc-3.4/glibc-2.3.2.
    71 
    72       Unless you are building a toolchain for sh3/4, you should leave that empty.
    73 
    74       Note: this is awkward, doesn't work well if you need more than one
    75             line in configparms
    76 
    77 source config/libc/glibc-eglibc-common.in