[oe] [meta-oe backport krogoth PATCH 01/22] net-snmp: enable ipv6 support

akuster808 akuster808 at gmail.com
Sat May 7 22:03:56 UTC 2016


On 5/6/16 6:59 AM, Otavio Salvador wrote:

pulled in most of this series, excluding the ltrace and bb.utils changes.


- armin
> From: Zhu Yanjun <yanjun.zhu at windriver.com>
>
> Add packageconfig for ipv6 and enable it when it's defined in distro_features.
>
> Signed-off-by: Zhu Yanjun <yanjun.zhu at windriver.com>
> Signed-off-by: Yue Tao <Yue.Tao at windriver.com>
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
>
>  meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> 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 1a50932..ee8878f 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 \




More information about the Openembedded-devel mailing list