[oe-commits] [openembedded-core] 14/32: psmisc: control ipv6 support based on DISTRO_FEATURES
git at git.openembedded.org
git at git.openembedded.org
Sat Sep 3 23:03:41 UTC 2016
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit a597000cb66163b7d75c578bfa1e6879229bad58
Author: Jackie Huang <jackie.huang at windriver.com>
AuthorDate: Mon Aug 22 17:06:04 2016 +0800
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 at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-extended/psmisc/psmisc.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-extended/psmisc/psmisc.inc b/meta/recipes-extended/psmisc/psmisc.inc
index 68e0656..98a8470 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"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list