author | Richard Strand <richard.strand@icomera.com> |
Tue Jan 12 21:47:57 2010 +0000 (2010-01-12) | |
changeset 1730 | c43d16b6b950 |
parent 1569 | a4e30d311569 |
child 1796 | f1dc942a12c2 |
permissions | -rw-r--r-- |
yann@787 | 1 |
# eglibc options |
yann@1345 | 2 |
# depends on ! BARE_METAL && ARCH_USE_MMU |
yann@787 | 3 |
|
yann@922 | 4 |
config LIBC_eglibc |
yann@922 | 5 |
select LIBC_SUPPORT_NPTL |
yann@922 | 6 |
select LIBC_SUPPORT_LINUXTHREADS |
yann@922 | 7 |
help |
yann@922 | 8 |
EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC |
yann@922 | 9 |
that is designed to work well on embedded systems. EGLIBC strives |
yann@922 | 10 |
to be source and binary compatible with GLIBC. Its goals include |
yann@922 | 11 |
a reduced footprint, configurable components, and improved |
yann@922 | 12 |
cross-compilation support. EGLIBC also includes some embedded ports |
yann@922 | 13 |
(such as e500/spe) that are normally separate add-ons of GLIBC. |
yann@852 | 14 |
|
yann@787 | 15 |
choice |
yann@787 | 16 |
bool |
yann@787 | 17 |
prompt "eglibc version" |
yann@1535 | 18 |
# Don't remove next line |
yann@1535 | 19 |
# CT_INSERT_VERSION_BELOW |
yann@787 | 20 |
|
yann@1534 | 21 |
config LIBC_V_2_10 |
yann@787 | 22 |
bool |
yann@1534 | 23 |
prompt "2_10" |
yann@1534 | 24 |
|
yann@1534 | 25 |
config EGLIBC_V_2_9 |
yann@1534 | 26 |
bool |
yann@1534 | 27 |
prompt "2_9" |
yann@1534 | 28 |
|
yann@1534 | 29 |
config EGLIBC_V_2_8 |
yann@1534 | 30 |
bool |
yann@1615 | 31 |
prompt "2_8 (OBSOLETE)" |
yann@1615 | 32 |
depends on OBSOLETE |
yann@1534 | 33 |
|
yann@1534 | 34 |
config EGLIBC_V_2_7 |
yann@1534 | 35 |
bool |
yann@1615 | 36 |
prompt "2_7 (OBSOLETE)" |
yann@1615 | 37 |
depends on OBSOLETE |
yann@787 | 38 |
|
yann@787 | 39 |
config EGLIBC_V_2_6 |
yann@787 | 40 |
bool |
yann@1615 | 41 |
prompt "2_6 (OBSOLETE)" |
yann@1615 | 42 |
depends on OBSOLETE |
yann@787 | 43 |
|
yann@1534 | 44 |
config EGLIBC_V_2_5 |
yann@787 | 45 |
bool |
yann@1615 | 46 |
prompt "2_5 (OBSOLETE)" |
yann@1615 | 47 |
depends on OBSOLETE |
yann@1438 | 48 |
|
yann@865 | 49 |
config EGLIBC_V_TRUNK |
yann@865 | 50 |
bool |
yann@865 | 51 |
prompt "'trunk'" |
yann@865 | 52 |
help |
yann@865 | 53 |
Selecting this will export the trunk of the eglibc subversion repository. |
yann@865 | 54 |
|
yann@787 | 55 |
endchoice |
yann@787 | 56 |
|
yann@787 | 57 |
config LIBC_VERSION |
yann@787 | 58 |
string |
yann@1535 | 59 |
# Don't remove next line |
yann@1535 | 60 |
# CT_INSERT_VERSION_STRING_BELOW |
yann@1534 | 61 |
default "2_10" if LIBC_V_2_10 |
yann@1534 | 62 |
default "2_9" if EGLIBC_V_2_9 |
yann@1534 | 63 |
default "2_8" if EGLIBC_V_2_8 |
yann@1534 | 64 |
default "2_7" if EGLIBC_V_2_7 |
yann@1534 | 65 |
default "2_6" if EGLIBC_V_2_6 |
yann@787 | 66 |
default "2_5" if EGLIBC_V_2_5 |
yann@1535 | 67 |
default "trunk" if EGLIBC_V_TRUNK |
yann@787 | 68 |
|
yann@787 | 69 |
config EGLIBC_REVISION |
yann@787 | 70 |
string |
yann@787 | 71 |
prompt "Revision to use" |
yann@787 | 72 |
default "HEAD" |
yann@787 | 73 |
help |
yann@787 | 74 |
Enter the revision of trunk you want to use. |
yann@787 | 75 |
Default is HEAD. |
yann@787 | 76 |
|
yann@787 | 77 |
A revision argument can be one of: |
yann@787 | 78 |
NUMBER revision number |
yann@787 | 79 |
'{' DATE '}' revision at start of the date (*) |
yann@787 | 80 |
'HEAD' latest in repository |
yann@787 | 81 |
|
yann@787 | 82 |
(*) If you want to use a date, please use ISO-8601 formats if |
yann@787 | 83 |
at all possible. |
yann@787 | 84 |
|
yann@787 | 85 |
config EGLIBC_CHECKOUT |
yann@787 | 86 |
bool |
yann@787 | 87 |
prompt "checkout instead of export" |
yann@787 | 88 |
default y if EGLIBC_V_TRUNK |
yann@787 | 89 |
default n if ! EGLIBC_V_TRUNK |
yann@787 | 90 |
help |
yann@787 | 91 |
By default, the eglibc download will be an export of the subversion |
yann@787 | 92 |
repository. If you say 'y' here, then the repository will instead be |
yann@787 | 93 |
checked-out, so that you can update it later. |
yann@787 | 94 |
|
yann@787 | 95 |
Note that crosstool-NG will *not* update your working copy, you will |
yann@787 | 96 |
have to do that yourself. |
avrac@1569 | 97 |
|
avrac@1569 | 98 |
config EGLIBC_CUSTOM_CONFIG |
avrac@1569 | 99 |
bool |
avrac@1569 | 100 |
prompt "Use custom configuration file" |
avrac@1569 | 101 |
default n |
avrac@1569 | 102 |
help |
avrac@1569 | 103 |
Use a custom configuration file to disable some features in the eglibc |
avrac@1569 | 104 |
library. The configuration file options are described in detail in the |
avrac@1569 | 105 |
option-groups.def file in the eglibc source directory. |
avrac@1569 | 106 |
|
avrac@1569 | 107 |
if EGLIBC_CUSTOM_CONFIG |
avrac@1569 | 108 |
config EGLIBC_OPTION_GROUPS_FILE |
avrac@1569 | 109 |
string |
avrac@1569 | 110 |
prompt "Path to the option-groups configuration file" |
avrac@1569 | 111 |
default "" |
avrac@1569 | 112 |
help |
avrac@1569 | 113 |
Path to the option groups configuration file. |
avrac@1569 | 114 |
|
avrac@1569 | 115 |
config EGLIBC_BUNDLED_NSS_CONFIG |
avrac@1569 | 116 |
bool |
avrac@1569 | 117 |
prompt "Use bundled NSS config file" |
avrac@1569 | 118 |
default y |
avrac@1569 | 119 |
help |
avrac@1569 | 120 |
Use minimal nsswitch configuration file bundled in eglibc. |
avrac@1569 | 121 |
This option is only meaningful when runtime nss configuration |
avrac@1569 | 122 |
is disabled in the option groups file. |
avrac@1569 | 123 |
|
avrac@1569 | 124 |
config EGLIBC_NSS_CONFIG_FILE |
avrac@1569 | 125 |
string |
avrac@1569 | 126 |
prompt "Path to the NSS config file" |
avrac@1569 | 127 |
default "" |
avrac@1569 | 128 |
depends on !EGLIBC_BUNDLED_NSS_CONFIG |
avrac@1569 | 129 |
help |
avrac@1569 | 130 |
Path to the nsswitch configuration file |
avrac@1569 | 131 |
|
avrac@1569 | 132 |
config EGLIBC_BUNDLED_NSS_FUNCTIONS |
avrac@1569 | 133 |
bool |
avrac@1569 | 134 |
prompt "Use bundled NSS functions file" |
avrac@1569 | 135 |
default y |
avrac@1569 | 136 |
help |
avrac@1569 | 137 |
Use minimal nsswitch functions file bundled in eglibc. |
avrac@1569 | 138 |
This option is only meaningful when runtime nss configuration |
avrac@1569 | 139 |
is disabled in the option groups file. |
avrac@1569 | 140 |
|
avrac@1569 | 141 |
config EGLIBC_NSS_FUNCTIONS_FILE |
avrac@1569 | 142 |
string |
avrac@1569 | 143 |
prompt "Path to the NSS functions file" |
avrac@1569 | 144 |
default "" |
avrac@1569 | 145 |
depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS |
avrac@1569 | 146 |
help |
avrac@1569 | 147 |
Path to the nsswitch functions file |
avrac@1569 | 148 |
endif |