* [PATCH 1/1] eglibc: nscd support depends on OPTION_EGLIBC_INET
@ 2013-08-26 18:48 Andrei Gherzan
2013-08-26 21:47 ` Saul Wold
0 siblings, 1 reply; 3+ messages in thread
From: Andrei Gherzan @ 2013-08-26 18:48 UTC (permalink / raw)
To: openembedded-core; +Cc: Andrei Gherzan
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@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
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 1/1] eglibc: nscd support depends on OPTION_EGLIBC_INET
2013-08-26 18:48 [PATCH 1/1] eglibc: nscd support depends on OPTION_EGLIBC_INET Andrei Gherzan
@ 2013-08-26 21:47 ` Saul Wold
2013-08-27 7:19 ` Andrei Gherzan
0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2013-08-26 21:47 UTC (permalink / raw)
To: Andrei Gherzan; +Cc: Andrei Gherzan, openembedded-core
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.gherzan@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)}"
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-08-27 7:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-26 18:48 [PATCH 1/1] eglibc: nscd support depends on OPTION_EGLIBC_INET Andrei Gherzan
2013-08-26 21:47 ` Saul Wold
2013-08-27 7:19 ` Andrei Gherzan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox