1.1 --- a/config/libc/eglibc.in Sun Sep 13 18:38:06 2009 +0200
1.2 +++ b/config/libc/eglibc.in Wed Oct 28 18:55:40 2009 +0100
1.3 @@ -90,3 +90,55 @@
1.4
1.5 Note that crosstool-NG will *not* update your working copy, you will
1.6 have to do that yourself.
1.7 +
1.8 +config EGLIBC_CUSTOM_CONFIG
1.9 + bool
1.10 + prompt "Use custom configuration file"
1.11 + default n
1.12 + help
1.13 + Use a custom configuration file to disable some features in the eglibc
1.14 + library. The configuration file options are described in detail in the
1.15 + option-groups.def file in the eglibc source directory.
1.16 +
1.17 +if EGLIBC_CUSTOM_CONFIG
1.18 + config EGLIBC_OPTION_GROUPS_FILE
1.19 + string
1.20 + prompt "Path to the option-groups configuration file"
1.21 + default ""
1.22 + help
1.23 + Path to the option groups configuration file.
1.24 +
1.25 + config EGLIBC_BUNDLED_NSS_CONFIG
1.26 + bool
1.27 + prompt "Use bundled NSS config file"
1.28 + default y
1.29 + help
1.30 + Use minimal nsswitch configuration file bundled in eglibc.
1.31 + This option is only meaningful when runtime nss configuration
1.32 + is disabled in the option groups file.
1.33 +
1.34 + config EGLIBC_NSS_CONFIG_FILE
1.35 + string
1.36 + prompt "Path to the NSS config file"
1.37 + default ""
1.38 + depends on !EGLIBC_BUNDLED_NSS_CONFIG
1.39 + help
1.40 + Path to the nsswitch configuration file
1.41 +
1.42 + config EGLIBC_BUNDLED_NSS_FUNCTIONS
1.43 + bool
1.44 + prompt "Use bundled NSS functions file"
1.45 + default y
1.46 + help
1.47 + Use minimal nsswitch functions file bundled in eglibc.
1.48 + This option is only meaningful when runtime nss configuration
1.49 + is disabled in the option groups file.
1.50 +
1.51 + config EGLIBC_NSS_FUNCTIONS_FILE
1.52 + string
1.53 + prompt "Path to the NSS functions file"
1.54 + default ""
1.55 + depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
1.56 + help
1.57 + Path to the nsswitch functions file
1.58 +endif