diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-08-22 17:05:54 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-03 23:45:52 +0100 |
commit | 2e478ff220b14c7c5ce906c78f00f426daacd46d (patch) | |
tree | c247ac75a99cd7f8d3b1eca7d197a04f7ad65ae5 | |
parent | 4a5aa7ea4d07c2c90a1654b174873abb018acc67 (diff) | |
download | poky-2e478ff220b14c7c5ce906c78f00f426daacd46d.tar.gz |
apr: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.
(From OE-Core rev: 91d29c5555557fb0637c886f76c859d704ecd980)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/apr/apr_1.5.2.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/apr/apr_1.5.2.bb b/meta/recipes-support/apr/apr_1.5.2.bb index db1530530a..302c93504b 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 | |||
38 | # x86_64-linux-libtool: error: specify a tag with '--tag' | 38 | # x86_64-linux-libtool: error: specify a tag with '--tag' |
39 | CCACHE = "" | 39 | CCACHE = "" |
40 | 40 | ||
41 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" | ||
42 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
43 | |||
41 | do_configure_prepend() { | 44 | do_configure_prepend() { |
42 | # Avoid absolute paths for grep since it causes failures | 45 | # Avoid absolute paths for grep since it causes failures |
43 | # when using sstate between different hosts with different | 46 | # when using sstate between different hosts with different |