[OE-core] [PATCH 1/1] eglibc: nscd support depends on OPTION_EGLIBC_INET

Andrei Gherzan andrei at gherzan.ro
Mon Aug 26 18:48:44 UTC 2013


Add --disable-nscd if DISTRO_FEATURES does not contain ipv4. This features is
mapped to OPTION_EGLIBC_INET.
The default behavior is to activate nscd (if --disable-nscd is not passed to
configure script). But nscd depends on OPTION_EGLIBC_INET, so compilation will
fail if this option is not activated.

Signed-off-by: Andrei Gherzan <andrei.gherzan at windriver.com>
---
 meta/recipes-core/eglibc/eglibc_2.18.bb |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/eglibc/eglibc_2.18.bb b/meta/recipes-core/eglibc/eglibc_2.18.bb
index 17b651f..771f3e7 100644
--- a/meta/recipes-core/eglibc/eglibc_2.18.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.18.bb
@@ -79,6 +79,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
                 --without-selinux \
                 --enable-obsolete-rpc \
                 --with-kconfig=${STAGING_BINDIR_NATIVE} \
+                ${@base_contains('DISTRO_FEATURES', 'ipv4', '', '--disable-nscd', d)} \
                 ${GLIBC_EXTRA_OECONF}"
 
 EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"
-- 
1.7.9.5




More information about the Openembedded-core mailing list