diff options
author | Arnaud Vrac <avrac@freebox.fr> | 2009-10-09 16:22:09 +0200 |
---|---|---|
committer | Arnaud Vrac <avrac@freebox.fr> | 2009-10-09 16:22:09 +0200 |
commit | e11863d1676b57e0df80a6ef5b5d9296d8a176cd (patch) | |
tree | 5ce924b6827463300bc0e6b9a4be58b78271bfad /config/libc/eglibc.in | |
parent | bc7cfc95ad5509e49075b0d37cdcc279e594179b (diff) | |
download | crosstool-ng-e11863d1676b57e0df80a6ef5b5d9296d8a176cd.tar.gz crosstool-ng-e11863d1676b57e0df80a6ef5b5d9296d8a176cd.tar.bz2 crosstool-ng-e11863d1676b57e0df80a6ef5b5d9296d8a176cd.zip |
eglibc: add support for user provided option groups
Signed-off-by: Arnaud Vrac <avrac@freebox.fr>
Diffstat (limited to 'config/libc/eglibc.in')
-rw-r--r-- | config/libc/eglibc.in | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/config/libc/eglibc.in b/config/libc/eglibc.in index c507a47e..877b6f37 100644 --- a/config/libc/eglibc.in +++ b/config/libc/eglibc.in @@ -90,3 +90,55 @@ config EGLIBC_CHECKOUT 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 |