[oe] [meta-networking][PATCH 04/16] mtr: control ipv6 support based on DISTRO_FEATURES

jackie.huang at windriver.com jackie.huang at windriver.com
Wed Aug 24 09:06:52 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-networking/recipes-support/mtr/mtr_0.86.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-support/mtr/mtr_0.86.bb b/meta-networking/recipes-support/mtr/mtr_0.86.bb
index 7b73791..1d8a2cf 100644
--- a/meta-networking/recipes-support/mtr/mtr_0.86.bb
+++ b/meta-networking/recipes-support/mtr/mtr_0.86.bb
@@ -17,3 +17,5 @@ inherit autotools
 
 EXTRA_OECONF = "--without-gtk"
 
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
-- 
2.8.3




More information about the Openembedded-devel mailing list