diff options
author | Zhu Yanjun <yanjun.zhu@windriver.com> | 2016-05-04 11:32:22 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-05-05 17:19:57 +0200 |
commit | 73fa6a99128d299733612779ffd504d280520e1f (patch) | |
tree | e0a43b95fffa0662afd514dc5218a70a0718b2dd /meta-networking | |
parent | aa8e156d56d487d5419dd353da50778d56d47703 (diff) | |
download | meta-openembedded-73fa6a99128d299733612779ffd504d280520e1f.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>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 3 |
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 1a5093217..ee8878f9d 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 ??= "" | |||
39 | PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils" | 39 | PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils" |
40 | PACKAGECONFIG[libnl] = "--with-nl, --without-nl, libnl" | 40 | PACKAGECONFIG[libnl] = "--with-nl, --without-nl, libnl" |
41 | 41 | ||
42 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" | ||
43 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,," | ||
44 | |||
42 | EXTRA_OECONF = "--disable-embedded-perl \ | 45 | EXTRA_OECONF = "--disable-embedded-perl \ |
43 | --with-perl-modules=no \ | 46 | --with-perl-modules=no \ |
44 | --disable-manuals \ | 47 | --disable-manuals \ |