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