3 ## depends on ! WINDOWS && ! BARE_METAL && ARCH_USE_MMU
5 ## select LIBC_SUPPORT_NPTL
6 ## select LIBC_SUPPORT_LINUXTHREADS
7 ## select CC_CORE_PASSES_NEEDED
9 ## help EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC
10 ## help that is designed to work well on embedded systems. EGLIBC strives
11 ## help to be source and binary compatible with GLIBC. Its goals include
12 ## help a reduced footprint, configurable components, and improved
13 ## help cross-compilation support. EGLIBC also includes some embedded ports
14 ## help (such as e500/spe) that are normally separate add-ons of GLIBC.
18 prompt "eglibc version"
19 # Don't remove next line
20 # CT_INSERT_VERSION_BELOW
22 config LIBC_EGLIBC_V_2_18
25 select LIBC_EGLIBC_2_16_or_later
27 config LIBC_EGLIBC_V_2_17
30 select LIBC_EGLIBC_2_16_or_later
32 config LIBC_EGLIBC_V_2_16
35 select LIBC_EGLIBC_2_16_or_later
37 config LIBC_EGLIBC_V_2_15
41 config LIBC_EGLIBC_V_2_14
45 config LIBC_EGLIBC_V_2_13
49 config LIBC_EGLIBC_V_2_12
53 config LIBC_EGLIBC_V_2_11
57 config LIBC_EGLIBC_V_2_10
61 config LIBC_EGLIBC_V_2_9
65 config LIBC_EGLIBC_V_TRUNK
68 select LIBC_EGLIBC_2_16_or_later
70 Selecting this will export the trunk of the eglibc subversion repository.
76 # Don't remove next line
77 # CT_INSERT_VERSION_STRING_BELOW
78 default "2_18" if LIBC_EGLIBC_V_2_18
79 default "2_17" if LIBC_EGLIBC_V_2_17
80 default "2_16" if LIBC_EGLIBC_V_2_16
81 default "2_15" if LIBC_EGLIBC_V_2_15
82 default "2_14" if LIBC_EGLIBC_V_2_14
83 default "2_13" if LIBC_EGLIBC_V_2_13
84 default "2_12" if LIBC_EGLIBC_V_2_12
85 default "2_11" if LIBC_EGLIBC_V_2_11
86 default "2_10" if LIBC_EGLIBC_V_2_10
87 default "2_9" if LIBC_EGLIBC_V_2_9
88 default "trunk" if LIBC_EGLIBC_V_TRUNK
90 config LIBC_EGLIBC_2_16_or_later
95 config EGLIBC_REVISION
97 prompt "Revision to use"
100 Enter the revision of trunk you want to use.
103 A revision argument can be one of:
104 NUMBER revision number
105 '{' DATE '}' revision at start of the date (*)
106 'HEAD' latest in repository
108 (*) If you want to use a date, please use ISO-8601 formats if
113 prompt "use http:// instead of svn://"
115 By default, when eglibc is downloaded it is checked out using
116 svn://svn.eglibc.org. This option allows you to download eglibc
117 from http://www.eglibc.org, if you are behind a proxy or firewall.
118 If you are behind a proxy, don't forget to update your
119 .subversion/servers file with your proxy info in [global].
121 config EGLIBC_CHECKOUT
123 prompt "checkout instead of export"
124 default y if LIBC_EGLIBC_V_TRUNK
126 By default, the eglibc download will be an export of the subversion
127 repository. If you say 'y' here, then the repository will instead be
128 checked-out, so that you can update it later.
130 Note that crosstool-NG will *not* update your working copy, you will
131 have to do that yourself.
133 endif # ! CONFIGURE_has_svn
134 if ! CONFIGURE_has_svn
136 comment "svn is missing. You'll have to either:"
137 comment "| - have a pre-downloaded local tarball"
138 comment "| - or have a LAN mirror with a pre-downloaded tarball"
139 comment "otherwise you won't be able to download eglibc"
141 endif # ! CONFIGURE_has_svn
143 config EGLIBC_OPT_SIZE
145 prompt "optimize eglibc for size (-Os)"
147 Optimize eglibc for size using -Os instead of -O2. This will make eglibc
148 smaller but may make it slower.
150 config EGLIBC_CUSTOM_CONFIG
152 prompt "Use custom configuration file"
154 Use a custom configuration file to disable some features in the eglibc
155 library. The configuration file options are described in detail in the
156 option-groups.def file in the eglibc source directory.
158 if EGLIBC_CUSTOM_CONFIG
159 config EGLIBC_OPTION_GROUPS_FILE
161 prompt "Path to the option-groups configuration file"
164 Path to the option groups configuration file.
166 config EGLIBC_BUNDLED_NSS_CONFIG
168 prompt "Use bundled NSS config file"
171 Use minimal nsswitch configuration file bundled in eglibc.
172 This option is only meaningful when runtime nss configuration
173 is disabled in the option groups file.
175 config EGLIBC_NSS_CONFIG_FILE
177 prompt "Path to the NSS config file"
179 depends on !EGLIBC_BUNDLED_NSS_CONFIG
181 Path to the nsswitch configuration file
183 config EGLIBC_BUNDLED_NSS_FUNCTIONS
185 prompt "Use bundled NSS functions file"
188 Use minimal nsswitch functions file bundled in eglibc.
189 This option is only meaningful when runtime nss configuration
190 is disabled in the option groups file.
192 config EGLIBC_NSS_FUNCTIONS_FILE
194 prompt "Path to the NSS functions file"
196 depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
198 Path to the nsswitch functions file