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_14
24 depends on EXPERIMENTAL
25 select LIBC_EGLIBC_2_14_or_later
27 config LIBC_EGLIBC_V_2_13
30 depends on EXPERIMENTAL
31 select LIBC_EGLIBC_2_13_or_later
33 config LIBC_EGLIBC_V_2_12
36 select LIBC_EGLIBC_2_12_or_later
38 config LIBC_EGLIBC_V_2_11
41 select LIBC_EGLIBC_2_11_or_later
43 config LIBC_EGLIBC_V_2_10
46 select LIBC_EGLIBC_2_10_or_later
48 config LIBC_EGLIBC_V_2_9
51 select LIBC_EGLIBC_2_9_or_later
53 config LIBC_EGLIBC_V_2_8
55 prompt "2_8 (OBSOLETE)"
58 config LIBC_EGLIBC_V_2_7
60 prompt "2_7 (OBSOLETE)"
63 config LIBC_EGLIBC_V_2_6
65 prompt "2_6 (OBSOLETE)"
68 config LIBC_EGLIBC_V_2_5
70 prompt "2_5 (OBSOLETE)"
73 config LIBC_EGLIBC_V_TRUNK
76 select LIBC_EGLIBC_2_14_or_later
78 Selecting this will export the trunk of the eglibc subversion repository.
84 # Don't remove next line
85 # CT_INSERT_VERSION_STRING_BELOW
86 default "2_14" if LIBC_EGLIBC_V_2_14
87 default "2_13" if LIBC_EGLIBC_V_2_13
88 default "2_12" if LIBC_EGLIBC_V_2_12
89 default "2_11" if LIBC_EGLIBC_V_2_11
90 default "2_10" if LIBC_EGLIBC_V_2_10
91 default "2_9" if LIBC_EGLIBC_V_2_9
92 default "2_8" if LIBC_EGLIBC_V_2_8
93 default "2_7" if LIBC_EGLIBC_V_2_7
94 default "2_6" if LIBC_EGLIBC_V_2_6
95 default "2_5" if LIBC_EGLIBC_V_2_5
96 default "trunk" if LIBC_EGLIBC_V_TRUNK
98 config LIBC_EGLIBC_2_14_or_later
100 select LIBC_EGLIBC_2_13_or_later
102 config LIBC_EGLIBC_2_13_or_later
104 select LIBC_EGLIBC_2_12_or_later
106 config LIBC_EGLIBC_2_12_or_later
108 select LIBC_EGLIBC_2_11_or_later
110 config LIBC_EGLIBC_2_11_or_later
112 select LIBC_EGLIBC_2_10_or_later
114 config LIBC_EGLIBC_2_10_or_later
116 select LIBC_EGLIBC_2_9_or_later
118 config LIBC_EGLIBC_2_9_or_later
120 select LIBC_EGLIBC_HAS_PKGVERSION_BUGURL
122 config LIBC_EGLIBC_HAS_PKGVERSION_BUGURL
125 config EGLIBC_REVISION
127 prompt "Revision to use"
130 Enter the revision of trunk you want to use.
133 A revision argument can be one of:
134 NUMBER revision number
135 '{' DATE '}' revision at start of the date (*)
136 'HEAD' latest in repository
138 (*) If you want to use a date, please use ISO-8601 formats if
141 config EGLIBC_CHECKOUT
143 prompt "checkout instead of export"
144 default y if LIBC_EGLIBC_V_TRUNK
146 By default, the eglibc download will be an export of the subversion
147 repository. If you say 'y' here, then the repository will instead be
148 checked-out, so that you can update it later.
150 Note that crosstool-NG will *not* update your working copy, you will
151 have to do that yourself.
153 config EGLIBC_OPT_SIZE
155 prompt "optimize eglibc for size (-Os)"
157 Optimize eglibc for size using -Os instead of -O2. This will make eglibc
158 smaller but may make it slower.
160 config EGLIBC_CUSTOM_CONFIG
162 prompt "Use custom configuration file"
164 Use a custom configuration file to disable some features in the eglibc
165 library. The configuration file options are described in detail in the
166 option-groups.def file in the eglibc source directory.
168 if EGLIBC_CUSTOM_CONFIG
169 config EGLIBC_OPTION_GROUPS_FILE
171 prompt "Path to the option-groups configuration file"
174 Path to the option groups configuration file.
176 config EGLIBC_BUNDLED_NSS_CONFIG
178 prompt "Use bundled NSS config file"
181 Use minimal nsswitch configuration file bundled in eglibc.
182 This option is only meaningful when runtime nss configuration
183 is disabled in the option groups file.
185 config EGLIBC_NSS_CONFIG_FILE
187 prompt "Path to the NSS config file"
189 depends on !EGLIBC_BUNDLED_NSS_CONFIG
191 Path to the nsswitch configuration file
193 config EGLIBC_BUNDLED_NSS_FUNCTIONS
195 prompt "Use bundled NSS functions file"
198 Use minimal nsswitch functions file bundled in eglibc.
199 This option is only meaningful when runtime nss configuration
200 is disabled in the option groups file.
202 config EGLIBC_NSS_FUNCTIONS_FILE
204 prompt "Path to the NSS functions file"
206 depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
208 Path to the nsswitch functions file