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