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