config/libc/glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jul 22 13:29:08 2008 +0000 (2008-07-22)
changeset 710 021546adce69
parent 448 08da017ba46b
child 808 0949a87e1629
permissions -rw-r--r--
Allow selecting 'latest' snapshot, as well as 'specific' date snapshot for glibc.
Update uClibc config to commonalise some help.

/trunk/scripts/build/libc_glibc.sh | 22 20 2 0 ++++++++++++++++++++--
/trunk/config/libc/glibc.in | 12 12 0 0 ++++++++++++
/trunk/config/libc/uClibc.in | 12 4 8 0 ++++--------
/trunk/config/libc.in | 13 13 0 0 +++++++++++++
4 files changed, 49 insertions(+), 10 deletions(-)
yann@448
     1
# glibc options
yann@448
     2
yann@448
     3
choice
yann@448
     4
    bool
yann@448
     5
    prompt "glibc version"
yann@448
     6
yann@710
     7
config LIBC_V_LATEST
yann@710
     8
    bool
yann@710
     9
    prompt "'latest' snapshot (EXPERIMENTAL)"
yann@710
    10
    depends on EXPERIMENTAL
yann@710
    11
yann@710
    12
config LIBC_V_date
yann@710
    13
    bool
yann@710
    14
    prompt "<specific date> (EXPERIMENTAL)"
yann@710
    15
    depends on EXPERIMENTAL
yann@710
    16
yann@448
    17
config LIBC_V_2_3_6
yann@448
    18
    bool
yann@448
    19
    prompt "2.3.6 (OBSOLETE)"
yann@448
    20
    depends on OBSOLETE
yann@448
    21
yann@448
    22
config LIBC_V_2_5
yann@448
    23
    bool
yann@448
    24
    prompt "2.5"
yann@448
    25
yann@448
    26
config LIBC_V_2_5_1
yann@448
    27
    bool
yann@448
    28
    prompt "2.5.1"
yann@448
    29
yann@448
    30
config LIBC_V_2_6
yann@448
    31
    bool
yann@448
    32
    prompt "2.6"
yann@448
    33
yann@448
    34
config LIBC_V_2_6_1
yann@448
    35
    bool
yann@448
    36
    prompt "2.6.1"
yann@448
    37
yann@448
    38
config LIBC_V_2_7
yann@448
    39
    bool
yann@448
    40
    prompt "2.7"
yann@448
    41
    depends on EXPERIMENTAL
yann@448
    42
yann@448
    43
# CT_INSERT_VERSION_ABOVE
yann@448
    44
# Don't remove above line!
yann@448
    45
endchoice
yann@448
    46
yann@448
    47
config LIBC_VERSION
yann@448
    48
    string
yann@710
    49
    prompt "Enter date (YYYYMMDD)" if LIBC_V_date
yann@710
    50
    default "latest" if LIBC_V_LATEST
yann@448
    51
    default "2.3.6" if LIBC_V_2_3_6
yann@448
    52
    default "2.4" if LIBC_V_2_4
yann@448
    53
    default "2.5" if LIBC_V_2_5
yann@448
    54
    default "2.5.1" if LIBC_V_2_5_1
yann@448
    55
    default "2.6" if LIBC_V_2_6
yann@448
    56
    default "2.6.1" if LIBC_V_2_6_1
yann@448
    57
    default "2.7" if LIBC_V_2_7
yann@448
    58
# CT_INSERT_VERSION_STRING_ABOVE
yann@448
    59
# Don't remove above line!
yann@448
    60
yann@448
    61
config LIBC_GLIBC_EXTRA_CONFIG
yann@448
    62
    string
yann@448
    63
    prompt "glibc extra config"
yann@448
    64
    default ""
yann@448
    65
    help
yann@448
    66
      Extra flags to pass onto ./configure when configuring glibc.
yann@448
    67
yann@448
    68
      Eg.: --enable-static-nss
yann@448
    69
yann@448
    70
config LIBC_GLIBC_EXTRA_CFLAGS
yann@448
    71
    string
yann@448
    72
    prompt "glibc extra target CFLAGS"
yann@448
    73
    default ""
yann@448
    74
    help
yann@448
    75
      Extra target CFLAGS to use when building glibc.
yann@448
    76
yann@448
    77
config LIBC_EXTRA_CC_ARGS
yann@448
    78
    string
yann@448
    79
    prompt "gcc extra flags"
yann@448
    80
    default ""
yann@448
    81
    help
yann@448
    82
      Extra flags to pass gcc when building glibc.
yann@448
    83
yann@448
    84
      Seldom used, except for sparc64 which seems to need the flag -64
yann@448
    85
      to be passed onto gcc.
yann@448
    86
yann@448
    87
# Please note: This is not used for now (no sh support).
yann@448
    88
config LIBC_GLIBC_CONFIGPARMS
yann@448
    89
    string
yann@448
    90
    prompt "Extra config params (READ HELP)"
yann@448
    91
    default "" if ARCH != "sh3" && ARCH != "sh4"
yann@448
    92
    default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4"
yann@448
    93
    help
yann@448
    94
      Some architectures need to set options in the file configparms.
yann@448
    95
      This is the case for sh3/4, which really need to set configparms as of
yann@448
    96
      gcc-3.4/glibc-2.3.2.
yann@448
    97
yann@448
    98
      Unless you are building a toolchain for sh3/4, you should leave that empty.
yann@448
    99
yann@448
   100
      Note: this is awkward, doesn't work well if you need more than one
yann@448
   101
            line in configparms
yann@448
   102
yann@448
   103
config LIBC_GLIBC_USE_PORTS
yann@448
   104
    bool
yann@448
   105
    prompt "Use the ports addon"
yann@448
   106
    default n
yann@448
   107
    help
yann@448
   108
      The ports addon contains some architecture ports that are not available
yann@448
   109
      in the official glibc distribution.
yann@448
   110
      
yann@448
   111
      For example, this is the case for ARM with glibc >= 2.4
yann@448
   112
      
yann@448
   113
      Say n only if you're sure that your architecture is in the official
yann@448
   114
      glibc distribution for your chosen version.
yann@448
   115
yann@448
   116
config LIBC_ADDONS
yann@448
   117
    bool
yann@448
   118
    prompt "Pass extra addons list"
yann@448
   119
    default n
yann@448
   120
    help
yann@448
   121
      If you say Y here, you'll be able to give the list of addons you want to
yann@448
   122
      include in your C library.
yann@448
   123
yann@448
   124
config LIBC_ADDONS_LIST
yann@448
   125
    string
yann@448
   126
    prompt "Extra addons"
yann@448
   127
    default ""
yann@448
   128
    depends on LIBC_ADDONS
yann@448
   129
    help
yann@448
   130
      Extra addons to include in glibc. Space separated list.
yann@448
   131
yann@448
   132
      You need to specify neither linuxthreads nor nptl, as they are added
yann@448
   133
      automagically for you depending on the threading model you choosed
yann@448
   134
      earlier.
yann@448
   135
      
yann@448
   136
      Eg.: crypt        (for very old glibces)