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