3 ## depends on ! MINGW32 && ! BARE_METAL && ARCH_USE_MMU
5 ## select LIBC_SUPPORT_NPTL
6 ## select LIBC_SUPPORT_LINUXTHREADS
8 ## help EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC
9 ## help that is designed to work well on embedded systems. EGLIBC strives
10 ## help to be source and binary compatible with GLIBC. Its goals include
11 ## help a reduced footprint, configurable components, and improved
12 ## help cross-compilation support. EGLIBC also includes some embedded ports
13 ## help (such as e500/spe) that are normally separate add-ons of GLIBC.
17 prompt "eglibc version"
18 # Don't remove next line
19 # CT_INSERT_VERSION_BELOW
21 config LIBC_EGLIBC_V_2_15
24 select LIBC_EGLIBC_2_15_or_later
26 config LIBC_EGLIBC_V_2_14
29 select LIBC_EGLIBC_2_14_or_later
31 config LIBC_EGLIBC_V_2_13
34 select LIBC_EGLIBC_2_13_or_later
36 config LIBC_EGLIBC_V_2_12
39 select LIBC_EGLIBC_2_12_or_later
41 config LIBC_EGLIBC_V_2_11
44 select LIBC_EGLIBC_2_11_or_later
46 config LIBC_EGLIBC_V_2_10
49 select LIBC_EGLIBC_2_10_or_later
51 config LIBC_EGLIBC_V_2_9
54 select LIBC_EGLIBC_2_9_or_later
56 config LIBC_EGLIBC_V_2_8
58 prompt "2_8 (OBSOLETE)"
61 config LIBC_EGLIBC_V_2_7
63 prompt "2_7 (OBSOLETE)"
66 config LIBC_EGLIBC_V_2_6
68 prompt "2_6 (OBSOLETE)"
71 config LIBC_EGLIBC_V_2_5
73 prompt "2_5 (OBSOLETE)"
76 config LIBC_EGLIBC_V_TRUNK
79 select LIBC_EGLIBC_2_14_or_later
81 Selecting this will export the trunk of the eglibc subversion repository.
87 # Don't remove next line
88 # CT_INSERT_VERSION_STRING_BELOW
89 default "2_15" if LIBC_EGLIBC_V_2_15
90 default "2_14" if LIBC_EGLIBC_V_2_14
91 default "2_13" if LIBC_EGLIBC_V_2_13
92 default "2_12" if LIBC_EGLIBC_V_2_12
93 default "2_11" if LIBC_EGLIBC_V_2_11
94 default "2_10" if LIBC_EGLIBC_V_2_10
95 default "2_9" if LIBC_EGLIBC_V_2_9
96 default "2_8" if LIBC_EGLIBC_V_2_8
97 default "2_7" if LIBC_EGLIBC_V_2_7
98 default "2_6" if LIBC_EGLIBC_V_2_6
99 default "2_5" if LIBC_EGLIBC_V_2_5
100 default "trunk" if LIBC_EGLIBC_V_TRUNK
102 config LIBC_EGLIBC_2_15_or_later
104 select LIBC_EGLIBC_2_14_or_later
106 config LIBC_EGLIBC_2_14_or_later
108 select LIBC_EGLIBC_2_13_or_later
110 config LIBC_EGLIBC_2_13_or_later
112 select LIBC_EGLIBC_2_12_or_later
114 config LIBC_EGLIBC_2_12_or_later
116 select LIBC_EGLIBC_2_11_or_later
118 config LIBC_EGLIBC_2_11_or_later
120 select LIBC_EGLIBC_2_10_or_later
122 config LIBC_EGLIBC_2_10_or_later
124 select LIBC_EGLIBC_2_9_or_later
126 config LIBC_EGLIBC_2_9_or_later
128 select LIBC_EGLIBC_HAS_PKGVERSION_BUGURL
130 config LIBC_EGLIBC_HAS_PKGVERSION_BUGURL
135 config EGLIBC_REVISION
137 prompt "Revision to use"
140 Enter the revision of trunk you want to use.
143 A revision argument can be one of:
144 NUMBER revision number
145 '{' DATE '}' revision at start of the date (*)
146 'HEAD' latest in repository
148 (*) If you want to use a date, please use ISO-8601 formats if
153 prompt "use http:// instead of svn://"
155 By default, when eglibc is downloaded it is checked out using
156 svn://svn.eglibc.org. This option allows you to download eglibc
157 from http://www.eglibc.org, if you are behind a proxy or firewall.
158 If you are behind a proxy, don't forget to update your
159 .subversion/servers file with your proxy info in [global].
161 config EGLIBC_CHECKOUT
163 prompt "checkout instead of export"
164 default y if LIBC_EGLIBC_V_TRUNK
166 By default, the eglibc download will be an export of the subversion
167 repository. If you say 'y' here, then the repository will instead be
168 checked-out, so that you can update it later.
170 Note that crosstool-NG will *not* update your working copy, you will
171 have to do that yourself.
173 endif # ! CONFIGURE_has_svn
174 if ! CONFIGURE_has_svn
176 comment "svn is missing. You'll have to either:"
177 comment "| - have a pre-downloaded local tarball"
178 comment "| - or have a LAN mirror with a pre-downloaded tarball"
179 comment "otherwise you won't be able to download eglibc"
181 endif # ! CONFIGURE_has_svn
183 config EGLIBC_OPT_SIZE
185 prompt "optimize eglibc for size (-Os)"
187 Optimize eglibc for size using -Os instead of -O2. This will make eglibc
188 smaller but may make it slower.
190 config EGLIBC_CUSTOM_CONFIG
192 prompt "Use custom configuration file"
194 Use a custom configuration file to disable some features in the eglibc
195 library. The configuration file options are described in detail in the
196 option-groups.def file in the eglibc source directory.
198 if EGLIBC_CUSTOM_CONFIG
199 config EGLIBC_OPTION_GROUPS_FILE
201 prompt "Path to the option-groups configuration file"
204 Path to the option groups configuration file.
206 config EGLIBC_BUNDLED_NSS_CONFIG
208 prompt "Use bundled NSS config file"
211 Use minimal nsswitch configuration file bundled in eglibc.
212 This option is only meaningful when runtime nss configuration
213 is disabled in the option groups file.
215 config EGLIBC_NSS_CONFIG_FILE
217 prompt "Path to the NSS config file"
219 depends on !EGLIBC_BUNDLED_NSS_CONFIG
221 Path to the nsswitch configuration file
223 config EGLIBC_BUNDLED_NSS_FUNCTIONS
225 prompt "Use bundled NSS functions file"
228 Use minimal nsswitch functions file bundled in eglibc.
229 This option is only meaningful when runtime nss configuration
230 is disabled in the option groups file.
232 config EGLIBC_NSS_FUNCTIONS_FILE
234 prompt "Path to the NSS functions file"
236 depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
238 Path to the nsswitch functions file