2 # depends on ! MINGW32 && ! BARE_METAL && ARCH_USE_MMU
5 select LIBC_SUPPORT_NPTL
6 select LIBC_SUPPORT_LINUXTHREADS
8 EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC
9 that is designed to work well on embedded systems. EGLIBC strives
10 to be source and binary compatible with GLIBC. Its goals include
11 a reduced footprint, configurable components, and improved
12 cross-compilation support. EGLIBC also includes some embedded ports
13 (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
24 depends on EXPERIMENTAL
29 depends on EXPERIMENTAL
41 prompt "2_8 (OBSOLETE)"
46 prompt "2_7 (OBSOLETE)"
51 prompt "2_6 (OBSOLETE)"
56 prompt "2_5 (OBSOLETE)"
63 Selecting this will export the trunk of the eglibc subversion repository.
69 # Don't remove next line
70 # CT_INSERT_VERSION_STRING_BELOW
71 default "2_12" if EGLIBC_V_2_12
72 default "2_11" if EGLIBC_V_2_11
73 default "2_10" if EGLIBC_V_2_10
74 default "2_9" if EGLIBC_V_2_9
75 default "2_8" if EGLIBC_V_2_8
76 default "2_7" if EGLIBC_V_2_7
77 default "2_6" if EGLIBC_V_2_6
78 default "2_5" if EGLIBC_V_2_5
79 default "trunk" if EGLIBC_V_TRUNK
81 config EGLIBC_REVISION
83 prompt "Revision to use"
86 Enter the revision of trunk you want to use.
89 A revision argument can be one of:
90 NUMBER revision number
91 '{' DATE '}' revision at start of the date (*)
92 'HEAD' latest in repository
94 (*) If you want to use a date, please use ISO-8601 formats if
97 config EGLIBC_CHECKOUT
99 prompt "checkout instead of export"
100 default y if EGLIBC_V_TRUNK
101 default n if ! EGLIBC_V_TRUNK
103 By default, the eglibc download will be an export of the subversion
104 repository. If you say 'y' here, then the repository will instead be
105 checked-out, so that you can update it later.
107 Note that crosstool-NG will *not* update your working copy, you will
108 have to do that yourself.
110 config EGLIBC_OPT_SIZE
112 prompt "optimize eglibc for size (-Os)"
114 Optimize eglibc for size using -Os instead of -O2. This will make eglibc
115 smaller but may make it slower.
117 config EGLIBC_CUSTOM_CONFIG
119 prompt "Use custom configuration file"
122 Use a custom configuration file to disable some features in the eglibc
123 library. The configuration file options are described in detail in the
124 option-groups.def file in the eglibc source directory.
126 if EGLIBC_CUSTOM_CONFIG
127 config EGLIBC_OPTION_GROUPS_FILE
129 prompt "Path to the option-groups configuration file"
132 Path to the option groups configuration file.
134 config EGLIBC_BUNDLED_NSS_CONFIG
136 prompt "Use bundled NSS config file"
139 Use minimal nsswitch configuration file bundled in eglibc.
140 This option is only meaningful when runtime nss configuration
141 is disabled in the option groups file.
143 config EGLIBC_NSS_CONFIG_FILE
145 prompt "Path to the NSS config file"
147 depends on !EGLIBC_BUNDLED_NSS_CONFIG
149 Path to the nsswitch configuration file
151 config EGLIBC_BUNDLED_NSS_FUNCTIONS
153 prompt "Use bundled NSS functions file"
156 Use minimal nsswitch functions file bundled in eglibc.
157 This option is only meaningful when runtime nss configuration
158 is disabled in the option groups file.
160 config EGLIBC_NSS_FUNCTIONS_FILE
162 prompt "Path to the NSS functions file"
164 depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
166 Path to the nsswitch functions file