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
21 config LIBC_EGLIBC_V_2_13
24 depends on EXPERIMENTAL
26 config LIBC_EGLIBC_V_2_12
30 config LIBC_EGLIBC_V_2_11
34 config LIBC_EGLIBC_V_2_10
38 config LIBC_EGLIBC_V_2_9
42 config LIBC_EGLIBC_V_2_8
44 prompt "2_8 (OBSOLETE)"
47 config LIBC_EGLIBC_V_2_7
49 prompt "2_7 (OBSOLETE)"
52 config LIBC_EGLIBC_V_2_6
54 prompt "2_6 (OBSOLETE)"
57 config LIBC_EGLIBC_V_2_5
59 prompt "2_5 (OBSOLETE)"
62 config LIBC_EGLIBC_V_TRUNK
66 Selecting this will export the trunk of the eglibc subversion repository.
72 # Don't remove next line
73 # CT_INSERT_VERSION_STRING_BELOW
74 default "2_13" if LIBC_EGLIBC_V_2_13
75 default "2_12" if LIBC_EGLIBC_V_2_12
76 default "2_11" if LIBC_EGLIBC_V_2_11
77 default "2_10" if LIBC_EGLIBC_V_2_10
78 default "2_9" if LIBC_EGLIBC_V_2_9
79 default "2_8" if LIBC_EGLIBC_V_2_8
80 default "2_7" if LIBC_EGLIBC_V_2_7
81 default "2_6" if LIBC_EGLIBC_V_2_6
82 default "2_5" if LIBC_EGLIBC_V_2_5
83 default "trunk" if LIBC_EGLIBC_V_TRUNK
85 config EGLIBC_REVISION
87 prompt "Revision to use"
90 Enter the revision of trunk you want to use.
93 A revision argument can be one of:
94 NUMBER revision number
95 '{' DATE '}' revision at start of the date (*)
96 'HEAD' latest in repository
98 (*) If you want to use a date, please use ISO-8601 formats if
101 config EGLIBC_CHECKOUT
103 prompt "checkout instead of export"
104 default y if LIBC_EGLIBC_V_TRUNK
105 default n if ! LIBC_EGLIBC_V_TRUNK
107 By default, the eglibc download will be an export of the subversion
108 repository. If you say 'y' here, then the repository will instead be
109 checked-out, so that you can update it later.
111 Note that crosstool-NG will *not* update your working copy, you will
112 have to do that yourself.
114 config EGLIBC_OPT_SIZE
116 prompt "optimize eglibc for size (-Os)"
118 Optimize eglibc for size using -Os instead of -O2. This will make eglibc
119 smaller but may make it slower.
121 config EGLIBC_CUSTOM_CONFIG
123 prompt "Use custom configuration file"
126 Use a custom configuration file to disable some features in the eglibc
127 library. The configuration file options are described in detail in the
128 option-groups.def file in the eglibc source directory.
130 if EGLIBC_CUSTOM_CONFIG
131 config EGLIBC_OPTION_GROUPS_FILE
133 prompt "Path to the option-groups configuration file"
136 Path to the option groups configuration file.
138 config EGLIBC_BUNDLED_NSS_CONFIG
140 prompt "Use bundled NSS config file"
143 Use minimal nsswitch configuration file bundled in eglibc.
144 This option is only meaningful when runtime nss configuration
145 is disabled in the option groups file.
147 config EGLIBC_NSS_CONFIG_FILE
149 prompt "Path to the NSS config file"
151 depends on !EGLIBC_BUNDLED_NSS_CONFIG
153 Path to the nsswitch configuration file
155 config EGLIBC_BUNDLED_NSS_FUNCTIONS
157 prompt "Use bundled NSS functions file"
160 Use minimal nsswitch functions file bundled in eglibc.
161 This option is only meaningful when runtime nss configuration
162 is disabled in the option groups file.
164 config EGLIBC_NSS_FUNCTIONS_FILE
166 prompt "Path to the NSS functions file"
168 depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
170 Path to the nsswitch functions file