Update the kconfig stuff from git.kernel.org.
Commit f6682f915760ccfe57ef1b6cd5ff2d8f2bf8c1d4
/trunk/kconfig/lxdialog/check-lxdialog.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
1 # This file contains the common configuration options
2 # that apply to both glibc and eglibc.
4 if LIBC_glibc || LIBC_eglibc
6 comment "glibc/eglibc common options"
8 config LIBC_GLIBC_EXTRA_CONFIG
13 Extra flags to pass onto ./configure when configuring.
15 Eg.: --enable-static-nss
17 config LIBC_GLIBC_EXTRA_CFLAGS
19 prompt "extra target CFLAGS"
22 Extra target CFLAGS to use when building.
24 config LIBC_EXTRA_CC_ARGS
26 prompt "gcc extra flags"
29 Extra flags to pass gcc when building.
31 Seldom used, except for sparc64 which seems to need the flag -64
32 to be passed onto gcc.
34 config LIBC_GLIBC_USE_PORTS
36 prompt "Use the ports addon"
39 The ports addon contains some architecture ports that are not available
40 in the official distribution.
42 For example, this is the case for ARM with for 2.4 and above.
44 Say n only if you're sure that your architecture is in the official
45 distribution for your chosen version.
47 config LIBC_ADDONS_LIST
52 Extra addons to include. Space separated list.
54 You need to specify neither linuxthreads nor nptl, as they are added
55 automagically for you depending on the threading model you choosed
58 Eg.: crypt (for very old libces)
64 prompt "Minimum supported kernel version"
65 default LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS
67 config LIBC_GLIBC_KERNEL_VERSION_NONE
69 prompt "Let ./configure decide"
71 Let ./configure decide what minimum kernel version glibc/eglibc
72 will be able to run against.
74 This will inclde legacy compatibility code for older kernels in
75 the C library, thus ensuring that it will run on a large number
78 The minimum kernel version supported will be dependent upon the
79 target you build for. For example:
80 alpha*-*-linux-gnu Requires Linux 2.6.9 for NPTL
81 sh[34]-*-linux-gnu Requires Linux 2.6.11
82 powerpc* Requires Linux 2.4.19
83 arm*-*-linux-*gnueabi Requires Linux 2.6.16
85 config LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS
87 prompt "Same as kernel headers (default)"
89 Normaly, you'll want glibc/eglibc to run against the same kernel
90 version as the one used for the headers.
94 If enabled, crosstool-ng will use the chosen version of kernel
95 headers for the glibc minimum kernel version supported, which is
96 what gets passed to "--enable-kernel=" when configuring glibc.
98 Enabling this will ensure that no legacy compatibility code for
99 older kernels is built into your C libraries, but it will
100 be unable to run on kernel versions older than whichever kernel
101 headers version you've built the toolchain for.
103 If you know for sure that your toolchain will never need to build
104 applications that will run under a kernel version older than your
105 chosen kernel headers version (CT_KERNEL_VERSION), you can choose
108 config LIBC_GLIBC_KERNEL_VERSION_CHOSEN
110 prompt "Specific kernel version"
112 Specify the earliest Linux kernel version you want glibc to
113 include support for. This does not have to match the kernel
114 headers version used for your toolchain. This controls what is
115 passed to the "--enable-kernel=" option to the glibc configure
118 If you want to be able to statically link programs with your
119 toolchain's C library, make sure this kernel version is lower than
120 all kernels you wish to support to avoid "FATAL: kernel too old"
121 errors. The higher the version you specify, the less legacy code
122 will be built into libc.
124 Most people can leave this at the default value of "2.6.9".
126 if LIBC_GLIBC_KERNEL_VERSION_CHOSEN
128 config LIBC_GLIBC_MIN_KERNEL_VERSION
130 prompt "Minimum kernel version to support"
133 Enter here the lowest kernel version glibc/eglibc will be able to
136 The minimum kernel version supported will be dependent upon the
137 target you build for. For example:
138 alpha*-*-linux-gnu Requires Linux 2.6.9 for NPTL
139 sh[34]-*-linux-gnu Requires Linux 2.6.11
140 powerpc* Requires Linux 2.4.19
141 arm*-*-linux-*gnueabi Requires Linux 2.6.16
143 Note that no sanity check is performed by crosstool-NG to ensure
144 that the value you enter here is appropriate for your target.
146 endif # LIBC_GLIBC_KERNEL_VERSION_CHOSEN
150 config LIBC_GLIBC_MIN_KERNEL
152 default "" if LIBC_GLIBC_KERNEL_VERSION_NONE
153 default KERNEL_VERSION if LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS
154 default LIBC_GLIBC_MIN_KERNEL_VERSION if LIBC_GLIBC_KERNEL_VERSION_CHOSEN
158 endif # LIBC_glibc || LIBC_eglibc