Missed adding new files because of old svn:ignore property (removed).
/trunk/config/debug.in | 3 3 0 0 +++
/trunk/config/tools.in | 3 3 0 0 +++
2 files changed, 6 insertions(+)
1 # This file contains the common configuration options
2 # that apply to both glibc and eglibc.
5 # the symlink is a hack around the fact that mconf can not parse
6 # the same file more than once, and errors out if it is the case.
7 # If mconf is updated to accept multiple inclusion of the same
8 # file, then the symlink can go (and the includers be updated).
10 comment "glibc/eglibc common options"
12 config LIBC_GLIBC_EXTRA_CONFIG
17 Extra flags to pass onto ./configure when configuring.
19 Eg.: --enable-static-nss
21 config LIBC_GLIBC_EXTRA_CFLAGS
23 prompt "extra target CFLAGS"
26 Extra target CFLAGS to use when building.
28 config LIBC_EXTRA_CC_ARGS
30 prompt "gcc extra flags"
33 Extra flags to pass gcc when building.
35 Seldom used, except for sparc64 which seems to need the flag -64
36 to be passed onto gcc.
38 config LIBC_GLIBC_USE_PORTS
40 prompt "Use the ports addon"
43 The ports addon contains some architecture ports that are not available
44 in the official distribution.
46 For example, this is the case for ARM with for 2.4 and above.
48 Say n only if you're sure that your architecture is in the official
49 distribution for your chosen version.
53 prompt "Pass extra addons list"
56 If you say Y here, you'll be able to give the list of addons you want to
57 include in your C library.
59 config LIBC_ADDONS_LIST
63 depends on LIBC_ADDONS
65 Extra addons to include. Space separated list.
67 You need to specify neither linuxthreads nor nptl, as they are added
68 automagically for you depending on the threading model you choosed
71 Eg.: crypt (for very old libces)
77 prompt "Minimum supported kernel version"
78 default LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS
80 config LIBC_GLIBC_KERNEL_VERSION_NONE
82 prompt "Let ./configure decide"
84 Let ./configure decide what minimum kernel version glibc/eglibc
85 will be able to run against.
87 This will inclde legacy compatibility code for older kernels in
88 the C library, thus ensuring that it will run on a large number
91 The minimum kernel version supported will be dependent upon the
92 target you build for. For example:
93 alpha*-*-linux-gnu Requires Linux 2.6.9 for NPTL
94 sh[34]-*-linux-gnu Requires Linux 2.6.11
95 powerpc* Requires Linux 2.4.19
96 arm*-*-linux-*gnueabi Requires Linux 2.6.16
98 config LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS
100 prompt "Same as kernel headers (default)"
102 Normaly, you'll want glibc/eglibc to run against the same kernel
103 version as the one used for the headers.
107 If enabled, crosstool-ng will use the chosen version of kernel
108 headers for the glibc minimum kernel version supported, which is
109 what gets passed to "--enable-kernel=" when configuring glibc.
111 Enabling this will ensure that no legacy compatibility code for
112 older kernels is built into your C libraries, but it will
113 be unable to run on kernel versions older than whichever kernel
114 headers version you've built the toolchain for.
116 If you know for sure that your toolchain will never need to build
117 applications that will run under a kernel version older than your
118 chosen kernel headers version (CT_KERNEL_VERSION), you can choose
121 config LIBC_GLIBC_KERNEL_VERSION_CHOSEN
123 prompt "Specific kernel version"
125 Specify the earliest Linux kernel version you want glibc to
126 include support for. This does not have to match the kernel
127 headers version used for your toolchain. This controls what is
128 passed to the "--enable-kernel=" option to the glibc configure
131 If you want to be able to statically link programs with your
132 toolchain's C library, make sure this kernel version is lower than
133 all kernels you wish to support to avoid "FATAL: kernel too old"
134 errors. The higher the version you specify, the less legacy code
135 will be built into libc.
137 Most people can leave this at the default value of "2.6.9".
139 if LIBC_GLIBC_KERNEL_VERSION_CHOSEN
141 config LIBC_GLIBC_MIN_KERNEL_VERSION
143 prompt "Minimum kernel version to support"
146 Enter here the lowest kernel version glibc/eglibc will be able to
149 The minimum kernel version supported will be dependent upon the
150 target you build for. For example:
151 alpha*-*-linux-gnu Requires Linux 2.6.9 for NPTL
152 sh[34]-*-linux-gnu Requires Linux 2.6.11
153 powerpc* Requires Linux 2.4.19
154 arm*-*-linux-*gnueabi Requires Linux 2.6.16
156 Note that no sanity check is performed by crosstool-NG to ensure
157 that the value you enter here is appropriate for your target.
159 endif # LIBC_GLIBC_KERNEL_VERSION_CHOSEN
163 config LIBC_GLIBC_MIN_KERNEL
165 default "" if LIBC_GLIBC_KERNEL_VERSION_NONE
166 default KERNEL_VERSION if LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS
167 default LIBC_GLIBC_MIN_KERNEL_VERSION if LIBC_GLIBC_USE_HEADERS_MIN_KERNEL