From: Jackie Huang Date: Mon, 22 Aug 2016 09:06:04 +0000 (+0800) Subject: psmisc: control ipv6 support based on DISTRO_FEATURES X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~24427 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a597000cb66163b7d75c578bfa1e6879229bad58;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git psmisc: control ipv6 support based on DISTRO_FEATURES Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. Signed-off-by: Jackie Huang Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/psmisc/psmisc.inc b/meta/recipes-extended/psmisc/psmisc.inc index 68e06561f9f..98a84709a17 100644 --- a/meta/recipes-extended/psmisc/psmisc.inc +++ b/meta/recipes-extended/psmisc/psmisc.inc @@ -15,6 +15,9 @@ S = "${WORKDIR}/psmisc-${PV}" inherit autotools gettext +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" +PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," + ALLOW_EMPTY_${PN} = "1" PACKAGES =+ "fuser fuser-doc killall killall-doc pstree pstree-doc"