aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-22 17:06:04 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-31 17:53:29 +0100
commit87da3ea41faafb645d9c8a7d5332e3ab2922a239 (patch)
tree74a2fd78df5a3cd916c69f64aaac2482139875e5
parent54737d28ce0ead702ceebf00a4d4b74d1ee40211 (diff)
downloadopenembedded-core-contrib-87da3ea41faafb645d9c8a7d5332e3ab2922a239.tar.gz
openembedded-core-contrib-87da3ea41faafb645d9c8a7d5332e3ab2922a239.tar.bz2
openembedded-core-contrib-87da3ea41faafb645d9c8a7d5332e3ab2922a239.zip
psmisc: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/psmisc/psmisc.inc3
1 files changed, 3 insertions, 0 deletions
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"