aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@windriver.com>2016-05-06 10:59:22 -0300
committerArmin Kuster <akuster808@gmail.com>2016-05-09 19:05:02 -0700
commitea52766e39f0886f47f8e24fd2af923a4b3bced7 (patch)
treebc9b11b5f9b7293421faed8aba92c86bb6eb82b7 /meta-networking
parent2092396f0e4fd3891b398c7180528aba67e1d522 (diff)
downloadmeta-openembedded-contrib-ea52766e39f0886f47f8e24fd2af923a4b3bced7.tar.gz
net-snmp: enable ipv6 support
Add packageconfig for ipv6 and enable it when it's defined in distro_features. Signed-off-by: Zhu Yanjun <yanjun.zhu@windriver.com> Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
index 1a5093217b..ee8878f9de 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
@@ -39,6 +39,9 @@ PACKAGECONFIG ??= ""
PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils"
PACKAGECONFIG[libnl] = "--with-nl, --without-nl, libnl"
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,,"
+
EXTRA_OECONF = "--disable-embedded-perl \
--with-perl-modules=no \
--disable-manuals \