From e11863d1676b57e0df80a6ef5b5d9296d8a176cd Mon Sep 17 00:00:00 2001 From: Arnaud Vrac Date: Fri, 9 Oct 2009 16:22:09 +0200 Subject: eglibc: add support for user provided option groups Signed-off-by: Arnaud Vrac --- config/libc/eglibc.in | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) (limited to 'config') 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 -- cgit v1.2.3