diff -r 073d351bdcd3 -r a4e30d311569 config/libc/eglibc.in --- a/config/libc/eglibc.in Sun Sep 13 18:38:06 2009 +0200 +++ b/config/libc/eglibc.in Fri Oct 09 16:22:09 2009 +0200 @@ -90,3 +90,55 @@ Note that crosstool-NG will *not* update your working copy, you will have to do that yourself. + +config EGLIBC_CUSTOM_CONFIG + bool + prompt "Use custom configuration file" + default n + help + Use a custom configuration file to disable some features in the eglibc + library. The configuration file options are described in detail in the + option-groups.def file in the eglibc source directory. + +if EGLIBC_CUSTOM_CONFIG + config EGLIBC_OPTION_GROUPS_FILE + string + prompt "Path to the option-groups configuration file" + default "" + help + Path to the option groups configuration file. + + config EGLIBC_BUNDLED_NSS_CONFIG + bool + prompt "Use bundled NSS config file" + default y + help + Use minimal nsswitch configuration file bundled in eglibc. + This option is only meaningful when runtime nss configuration + is disabled in the option groups file. + + config EGLIBC_NSS_CONFIG_FILE + string + prompt "Path to the NSS config file" + default "" + depends on !EGLIBC_BUNDLED_NSS_CONFIG + help + Path to the nsswitch configuration file + + config EGLIBC_BUNDLED_NSS_FUNCTIONS + bool + prompt "Use bundled NSS functions file" + default y + help + Use minimal nsswitch functions file bundled in eglibc. + This option is only meaningful when runtime nss configuration + is disabled in the option groups file. + + config EGLIBC_NSS_FUNCTIONS_FILE + string + prompt "Path to the NSS functions file" + default "" + depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS + help + Path to the nsswitch functions file +endif