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