On 08/26/2013 11:48 AM, Andrei Gherzan wrote:
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.

Does this also need the Package to be set for ALLOW_EMPTY?

Sau!

Signed-off-by: Andrei Gherzan <andrei.gher...@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)}"

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to