Remove an obsolete, mis-leading comment in the glibc/eglibc common options.
/trunk/config/libc/glibc-eglibc.in-common | 6 0 6 0 ------
1 file changed, 6 deletions(-)
1 # This file contains the common configuration options
2 # that apply to both glibc and eglibc.
4 comment "glibc/eglibc common options"
6 config LIBC_GLIBC_EXTRA_CONFIG
11 Extra flags to pass onto ./configure when configuring.
13 Eg.: --enable-static-nss
15 config LIBC_GLIBC_EXTRA_CFLAGS
17 prompt "extra target CFLAGS"
20 Extra target CFLAGS to use when building.
22 config LIBC_EXTRA_CC_ARGS
24 prompt "gcc extra flags"
27 Extra flags to pass gcc when building.
29 Seldom used, except for sparc64 which seems to need the flag -64
30 to be passed onto gcc.
32 config LIBC_GLIBC_USE_PORTS
34 prompt "Use the ports addon"
37 The ports addon contains some architecture ports that are not available
38 in the official distribution.
40 For example, this is the case for ARM with for 2.4 and above.
42 Say n only if you're sure that your architecture is in the official
43 distribution for your chosen version.
45 config LIBC_ADDONS_LIST
50 Extra addons to include. Space separated list.
52 You need to specify neither linuxthreads nor nptl, as they are added
53 automagically for you depending on the threading model you choosed
56 Eg.: crypt (for very old libces)
62 prompt "Minimum supported kernel version"
63 default LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS
65 config LIBC_GLIBC_KERNEL_VERSION_NONE
67 prompt "Let ./configure decide"
69 Let ./configure decide what minimum kernel version glibc/eglibc
70 will be able to run against.
72 This will inclde legacy compatibility code for older kernels in
73 the C library, thus ensuring that it will run on a large number
76 The minimum kernel version supported will be dependent upon the
77 target you build for. For example:
78 alpha*-*-linux-gnu Requires Linux 2.6.9 for NPTL
79 sh[34]-*-linux-gnu Requires Linux 2.6.11
80 powerpc* Requires Linux 2.4.19
81 arm*-*-linux-*gnueabi Requires Linux 2.6.16
83 config LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS
85 prompt "Same as kernel headers (default)"
87 Normaly, you'll want glibc/eglibc to run against the same kernel
88 version as the one used for the headers.
92 If enabled, crosstool-ng will use the chosen version of kernel
93 headers for the glibc minimum kernel version supported, which is
94 what gets passed to "--enable-kernel=" when configuring glibc.
96 Enabling this will ensure that no legacy compatibility code for
97 older kernels is built into your C libraries, but it will
98 be unable to run on kernel versions older than whichever kernel
99 headers version you've built the toolchain for.
101 If you know for sure that your toolchain will never need to build
102 applications that will run under a kernel version older than your
103 chosen kernel headers version (CT_KERNEL_VERSION), you can choose
106 config LIBC_GLIBC_KERNEL_VERSION_CHOSEN
108 prompt "Specific kernel version"
110 Specify the earliest Linux kernel version you want glibc to
111 include support for. This does not have to match the kernel
112 headers version used for your toolchain. This controls what is
113 passed to the "--enable-kernel=" option to the glibc configure
116 If you want to be able to statically link programs with your
117 toolchain's C library, make sure this kernel version is lower than
118 all kernels you wish to support to avoid "FATAL: kernel too old"
119 errors. The higher the version you specify, the less legacy code
120 will be built into libc.
122 Most people can leave this at the default value of "2.6.9".
124 if LIBC_GLIBC_KERNEL_VERSION_CHOSEN
126 config LIBC_GLIBC_MIN_KERNEL_VERSION
128 prompt "Minimum kernel version to support"
131 Enter here the lowest kernel version glibc/eglibc will be able to
134 The minimum kernel version supported will be dependent upon the
135 target you build for. For example:
136 alpha*-*-linux-gnu Requires Linux 2.6.9 for NPTL
137 sh[34]-*-linux-gnu Requires Linux 2.6.11
138 powerpc* Requires Linux 2.4.19
139 arm*-*-linux-*gnueabi Requires Linux 2.6.16
141 Note that no sanity check is performed by crosstool-NG to ensure
142 that the value you enter here is appropriate for your target.
144 endif # LIBC_GLIBC_KERNEL_VERSION_CHOSEN
148 config LIBC_GLIBC_MIN_KERNEL
150 default "" if LIBC_GLIBC_KERNEL_VERSION_NONE
151 default KERNEL_VERSION if LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS
152 default LIBC_GLIBC_MIN_KERNEL_VERSION if LIBC_GLIBC_USE_HEADERS_MIN_KERNEL