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