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
83 config EGLIBC_REVISION
85 prompt "Revision to use"
88 Enter the revision of trunk you want to use.
91 A revision argument can be one of:
92 NUMBER revision number
93 '{' DATE '}' revision at start of the date (*)
94 'HEAD' latest in repository
96 (*) If you want to use a date, please use ISO-8601 formats if
101 prompt "use http:// instead of svn://"
103 By default, when eglibc is downloaded it is checked out using
104 svn://svn.eglibc.org. This option allows you to download eglibc
105 from http://www.eglibc.org, if you are behind a proxy or firewall.
106 If you are behind a proxy, don't forget to update your
107 .subversion/servers file with your proxy info in [global].
109 config EGLIBC_CHECKOUT
111 prompt "checkout instead of export"
112 default y if LIBC_EGLIBC_V_TRUNK
114 By default, the eglibc download will be an export of the subversion
115 repository. If you say 'y' here, then the repository will instead be
116 checked-out, so that you can update it later.
118 Note that crosstool-NG will *not* update your working copy, you will
119 have to do that yourself.
121 endif # ! CONFIGURE_has_svn
122 if ! CONFIGURE_has_svn
124 comment "svn is missing. You'll have to either:"
125 comment "| - have a pre-downloaded local tarball"
126 comment "| - or have a LAN mirror with a pre-downloaded tarball"
127 comment "otherwise you won't be able to download eglibc"
129 endif # ! CONFIGURE_has_svn
131 config EGLIBC_OPT_SIZE
133 prompt "optimize eglibc for size (-Os)"
135 Optimize eglibc for size using -Os instead of -O2. This will make eglibc
136 smaller but may make it slower.
138 config EGLIBC_CUSTOM_CONFIG
140 prompt "Use custom configuration file"
142 Use a custom configuration file to disable some features in the eglibc
143 library. The configuration file options are described in detail in the
144 option-groups.def file in the eglibc source directory.
146 if EGLIBC_CUSTOM_CONFIG
147 config EGLIBC_OPTION_GROUPS_FILE
149 prompt "Path to the option-groups configuration file"
152 Path to the option groups configuration file.
154 config EGLIBC_BUNDLED_NSS_CONFIG
156 prompt "Use bundled NSS config file"
159 Use minimal nsswitch configuration file bundled in eglibc.
160 This option is only meaningful when runtime nss configuration
161 is disabled in the option groups file.
163 config EGLIBC_NSS_CONFIG_FILE
165 prompt "Path to the NSS config file"
167 depends on !EGLIBC_BUNDLED_NSS_CONFIG
169 Path to the nsswitch configuration file
171 config EGLIBC_BUNDLED_NSS_FUNCTIONS
173 prompt "Use bundled NSS functions file"
176 Use minimal nsswitch functions file bundled in eglibc.
177 This option is only meaningful when runtime nss configuration
178 is disabled in the option groups file.
180 config EGLIBC_NSS_FUNCTIONS_FILE
182 prompt "Path to the NSS functions file"
184 depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
186 Path to the nsswitch functions file