[OE-core] [PATCH 01/17] apr: control ipv6 support based on DISTRO_FEATURES
jackie.huang at windriver.com
jackie.huang at windriver.com
Mon Aug 22 09:05:54 UTC 2016
From: Jackie Huang <jackie.huang at windriver.com>
Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.
Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
---
meta/recipes-support/apr/apr_1.5.2.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-support/apr/apr_1.5.2.bb b/meta/recipes-support/apr/apr_1.5.2.bb
index db15305..302c935 100644
--- a/meta/recipes-support/apr/apr_1.5.2.bb
+++ b/meta/recipes-support/apr/apr_1.5.2.bb
@@ -38,6 +38,9 @@ CACHED_CONFIGUREVARS += "ac_cv_header_netinet_sctp_h=no ac_cv_header_netinet_sct
# x86_64-linux-libtool: error: specify a tag with '--tag'
CCACHE = ""
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
+
do_configure_prepend() {
# Avoid absolute paths for grep since it causes failures
# when using sstate between different hosts with different
--
2.8.1
More information about the Openembedded-core
mailing list