[oe] [meta-networking][PATCH] tcpdump: add PACKAGECONFIG for smi

Joe MacDonald Joe_MacDonald at mentor.com
Tue Aug 25 13:45:01 UTC 2015


Acked-by: Joe MacDonald <Joe_MacDonald at mentor.com>

[[oe] [meta-networking][PATCH] tcpdump: add PACKAGECONFIG for smi] On 15.08.24 (Mon 19:23) Martin Jansa wrote:

> * libsmi is autodetected in configure, but in most cases disabled because of
>   cross-compilation so keep it explicitly disabled
> * resolves following difference in builds with and without libsmi built
>   before tcpdump:
>   4.7.4-r0-with/temp/log.do_configure:checking smi.h usability... yes
>   4.7.4-r0-with/temp/log.do_configure:checking smi.h presence... yes
>   4.7.4-r0-with/temp/log.do_configure:checking for smi.h... yes
>   4.7.4-r0-with/temp/log.do_configure:checking for smiInit in -lsmi... yes
>   4.7.4-r0-with/temp/log.do_configure:checking whether to enable libsmi... not when cross-compiling
> 
>   4.7.4-r0-without/temp/log.do_configure:checking smi.h usability... no
>   4.7.4-r0-without/temp/log.do_configure:checking smi.h presence... no
>   4.7.4-r0-without/temp/log.do_configure:checking for smi.h... no
> 
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
>  meta-networking/recipes-support/tcpdump/tcpdump_4.7.4.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta-networking/recipes-support/tcpdump/tcpdump_4.7.4.bb b/meta-networking/recipes-support/tcpdump/tcpdump_4.7.4.bb
> index b0b8e9d..0ffe589 100644
> --- a/meta-networking/recipes-support/tcpdump/tcpdump_4.7.4.bb
> +++ b/meta-networking/recipes-support/tcpdump/tcpdump_4.7.4.bb
> @@ -22,6 +22,7 @@ CACHED_CONFIGUREVARS = "ac_cv_linux_vers=${ac_cv_linux_vers=2}"
>  PACKAGECONFIG ??= "openssl ipv6"
>  PACKAGECONFIG[openssl] = "--with-crypto=yes, --without-openssl --without-crypto, openssl"
>  PACKAGECONFIG[ipv6] = "--enable-ipv6, --disable-ipv6,"
> +PACKAGECONFIG[smi] = "--with-smi, --without-smi,libsmi"
>  
>  EXTRA_AUTORECONF += " -I m4"
>  
> -- 
> 2.5.0
> 
-- 
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20150825/d130c95c/attachment-0002.sig>


More information about the Openembedded-devel mailing list