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_16
25 select LIBC_EGLIBC_2_16_or_later
27 config LIBC_EGLIBC_V_2_15
31 config LIBC_EGLIBC_V_2_14
35 config LIBC_EGLIBC_V_2_13
39 config LIBC_EGLIBC_V_2_12
43 config LIBC_EGLIBC_V_2_11
47 config LIBC_EGLIBC_V_2_10
51 config LIBC_EGLIBC_V_2_9
55 config LIBC_EGLIBC_V_TRUNK
58 select LIBC_EGLIBC_2_16_or_later
60 Selecting this will export the trunk of the eglibc subversion repository.
66 # Don't remove next line
67 # CT_INSERT_VERSION_STRING_BELOW
68 default "2_16" if LIBC_EGLIBC_V_2_16
69 default "2_15" if LIBC_EGLIBC_V_2_15
70 default "2_14" if LIBC_EGLIBC_V_2_14
71 default "2_13" if LIBC_EGLIBC_V_2_13
72 default "2_12" if LIBC_EGLIBC_V_2_12
73 default "2_11" if LIBC_EGLIBC_V_2_11
74 default "2_10" if LIBC_EGLIBC_V_2_10
75 default "2_9" if LIBC_EGLIBC_V_2_9
76 default "trunk" if LIBC_EGLIBC_V_TRUNK
78 config LIBC_EGLIBC_2_16_or_later
81 config LIBC_EGLIBC_HAS_PKGVERSION_BUGURL
87 config EGLIBC_REVISION
89 prompt "Revision to use"
92 Enter the revision of trunk you want to use.
95 A revision argument can be one of:
96 NUMBER revision number
97 '{' DATE '}' revision at start of the date (*)
98 'HEAD' latest in repository
100 (*) If you want to use a date, please use ISO-8601 formats if
105 prompt "use http:// instead of svn://"
107 By default, when eglibc is downloaded it is checked out using
108 svn://svn.eglibc.org. This option allows you to download eglibc
109 from http://www.eglibc.org, if you are behind a proxy or firewall.
110 If you are behind a proxy, don't forget to update your
111 .subversion/servers file with your proxy info in [global].
113 config EGLIBC_CHECKOUT
115 prompt "checkout instead of export"
116 default y if LIBC_EGLIBC_V_TRUNK
118 By default, the eglibc download will be an export of the subversion
119 repository. If you say 'y' here, then the repository will instead be
120 checked-out, so that you can update it later.
122 Note that crosstool-NG will *not* update your working copy, you will
123 have to do that yourself.
125 endif # ! CONFIGURE_has_svn
126 if ! CONFIGURE_has_svn
128 comment "svn is missing. You'll have to either:"
129 comment "| - have a pre-downloaded local tarball"
130 comment "| - or have a LAN mirror with a pre-downloaded tarball"
131 comment "otherwise you won't be able to download eglibc"
133 endif # ! CONFIGURE_has_svn
135 config EGLIBC_OPT_SIZE
137 prompt "optimize eglibc for size (-Os)"
139 Optimize eglibc for size using -Os instead of -O2. This will make eglibc
140 smaller but may make it slower.
142 config EGLIBC_CUSTOM_CONFIG
144 prompt "Use custom configuration file"
146 Use a custom configuration file to disable some features in the eglibc
147 library. The configuration file options are described in detail in the
148 option-groups.def file in the eglibc source directory.
150 if EGLIBC_CUSTOM_CONFIG
151 config EGLIBC_OPTION_GROUPS_FILE
153 prompt "Path to the option-groups configuration file"
156 Path to the option groups configuration file.
158 config EGLIBC_BUNDLED_NSS_CONFIG
160 prompt "Use bundled NSS config file"
163 Use minimal nsswitch configuration file bundled in eglibc.
164 This option is only meaningful when runtime nss configuration
165 is disabled in the option groups file.
167 config EGLIBC_NSS_CONFIG_FILE
169 prompt "Path to the NSS config file"
171 depends on !EGLIBC_BUNDLED_NSS_CONFIG
173 Path to the nsswitch configuration file
175 config EGLIBC_BUNDLED_NSS_FUNCTIONS
177 prompt "Use bundled NSS functions file"
180 Use minimal nsswitch functions file bundled in eglibc.
181 This option is only meaningful when runtime nss configuration
182 is disabled in the option groups file.
184 config EGLIBC_NSS_FUNCTIONS_FILE
186 prompt "Path to the NSS functions file"
188 depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
190 Path to the nsswitch functions file