config/libc_glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Apr 17 22:24:42 2007 +0000 (2007-04-17)
changeset 41 fd6ad5721f77
parent 16 ba927c7db679
child 61 1207acb66003
permissions -rw-r--r--
Add the EXPERIMENTAL option to show options marked as such.
Add the four types of toolchains ct-ng is able to build as EXPERIMENTAL, except for CROSS which *is* functional.
Reorder menus accordingly.
     1 # glibc options
     2 
     3 choice
     4     bool
     5     prompt "glibc version"
     6 
     7 config LIBC_V_1_09_1
     8     bool
     9     prompt "1.09.1"
    10 
    11 config LIBC_V_2_0_1
    12     bool
    13     prompt "2.0.1"
    14 
    15 config LIBC_V_2_0_6
    16     bool
    17     prompt "2.0.6"
    18 
    19 config LIBC_V_2_1_1
    20     bool
    21     prompt "2.1.1"
    22 
    23 config LIBC_V_2_1_2
    24     bool
    25     prompt "2.1.2"
    26 
    27 config LIBC_V_2_1_3
    28     bool
    29     prompt "2.1.3"
    30 
    31 config LIBC_V_2_2
    32     bool
    33     prompt "2.2"
    34 
    35 config LIBC_V_2_2_1
    36     bool
    37     prompt "2.2.1"
    38 
    39 config LIBC_V_2_2_2
    40     bool
    41     prompt "2.2.2"
    42 
    43 config LIBC_V_2_2_3
    44     bool
    45     prompt "2.2.3"
    46 
    47 config LIBC_V_2_2_4
    48     bool
    49     prompt "2.2.4"
    50 
    51 config LIBC_V_2_2_5
    52     bool
    53     prompt "2.2.5"
    54 
    55 config LIBC_V_2_3
    56     bool
    57     prompt "2.3"
    58 
    59 config LIBC_V_2_3_1
    60     bool
    61     prompt "2.3.1"
    62 
    63 config LIBC_V_2_3_2
    64     bool
    65     prompt "2.3.2"
    66 
    67 config LIBC_V_2_3_3
    68     bool
    69     prompt "2.3.3"
    70 
    71 config LIBC_V_2_3_4
    72     bool
    73     prompt "2.3.4"
    74 
    75 config LIBC_V_2_3_5
    76     bool
    77     prompt "2.3.5"
    78 
    79 config LIBC_V_2_3_6
    80     bool
    81     prompt "2.3.6"
    82 
    83 config LIBC_V_2_4
    84     bool
    85     prompt "2.4"
    86 
    87 config LIBC_V_2_5
    88     bool
    89     prompt "2.5"
    90 
    91 # CT_INSERT_VERSION_ABOVE
    92 # Don't remove above line!
    93 endchoice
    94 
    95 config LIBC_VERSION
    96     string
    97     default "1.09.1" if LIBC_V_1_09_1
    98     default "2.0.1" if LIBC_V_2_0_1
    99     default "2.0.6" if LIBC_V_2_0_6
   100     default "2.1.1" if LIBC_V_2_1_1
   101     default "2.1.2" if LIBC_V_2_1_2
   102     default "2.1.3" if LIBC_V_2_1_3
   103     default "2.2" if LIBC_V_2_2
   104     default "2.2.1" if LIBC_V_2_2_1
   105     default "2.2.2" if LIBC_V_2_2_2
   106     default "2.2.3" if LIBC_V_2_2_3
   107     default "2.2.4" if LIBC_V_2_2_4
   108     default "2.2.5" if LIBC_V_2_2_5
   109     default "2.3" if LIBC_V_2_3
   110     default "2.3.1" if LIBC_V_2_3_1
   111     default "2.3.2" if LIBC_V_2_3_2
   112     default "2.3.3" if LIBC_V_2_3_3
   113     default "2.3.4" if LIBC_V_2_3_4
   114     default "2.3.5" if LIBC_V_2_3_5
   115     default "2.3.6" if LIBC_V_2_3_6
   116     default "2.4" if LIBC_V_2_4
   117     default "2.5" if LIBC_V_2_5
   118 # CT_INSERT_VERSION_STRING_ABOVE
   119 # Don't remove above line!
   120 
   121 choice
   122     bool
   123     prompt "Threading implentation to use:"
   124     default LIBC_GLIBC_THREADS_LINUXTHREADS
   125 
   126 config LIBC_GLIBC_THREADS_NPTL
   127     bool
   128     prompt "nptl (not implemented)"
   129 
   130 config LIBC_GLIBC_THREADS_LINUXTHREADS
   131     bool
   132     prompt "linuxthreads"
   133 
   134 config LIBC_GLIBC_THREADS_NONE
   135     bool
   136     prompt "none"
   137 
   138 endchoice
   139 
   140 config LIBC_GLIBC_EXTRA_CONFIG
   141     string
   142     prompt "glibc extra config"
   143     default ""
   144     help
   145       Extra flags to pass onto ./configure when configuring glibc.
   146 
   147       Eg.: --enable-static-nss
   148 
   149 config LIBC_GLIBC_EXTRA_CFLAGS
   150     string
   151     prompt "glibc extra target CFLAGS"
   152     default ""
   153     help
   154       Extra target CFLAGS to use when building glibc.
   155 
   156 config LIBC_EXTRA_CC_ARGS
   157     string
   158     prompt "gcc extra flags"
   159     default ""
   160     help
   161       Extra flags to pass gcc when building glibc.
   162 
   163       Seldom used, except for sparc64 which seems to need the flag -64
   164       to be passed onto gcc.
   165 
   166 # Please note: This is not used for now (no sh support).
   167 config LIBC_GLIBC_CONFIGPARMS
   168     string
   169     prompt "Extra config params (READ HELP)"
   170     default "" if ARCH != "sh3" && ARCH != "sh4"
   171     default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4"
   172     help
   173       Some architectures need to set options in the file configparms.
   174       This is the case for sh3/4, which really need to set configparms as of
   175       gcc-3.4/glibc-2.3.2.
   176 
   177       Unless you are building a toolchain for sh3/4, you should leave that empty.
   178 
   179       Note: this is awkward, doesn't work well if you need more than one
   180             line in configparms
   181 
   182 config LIBC_GLIBC_USE_PORTS
   183     bool
   184     prompt "Use the ports addon"
   185     default y
   186     help
   187       The ports addon contains some architecture ports that are not available
   188       in the official glibc distribution.
   189       
   190       For example, this is the case for ARM with glibc >= 2.4
   191       
   192       Say n only if you're sure that your architecture is in the official
   193       glibc distribution for your chosen version.
   194 
   195 config LIBC_ADDONS
   196     bool
   197     prompt "Pass extra addons list"
   198     default n
   199     help
   200       If you say Y here, you'll be able to give the list of addons you want to
   201       include in your C library.
   202 
   203 config LIBC_ADDONS_LIST
   204     string
   205     prompt "Extra addons"
   206     default ""
   207     depends on LIBC_ADDONS
   208     help
   209       Extra addons to include in glibc.
   210       
   211       Eg.: crypt        (for very old glibces)
   212            ports        (for the ports addon, with other architectures)
   213            linuxthreads (for the linuxthreads implementation of threads)