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