[oe] [meta-networking][PATCH v2 2/2] netperf: enable SCTP support
Otavio Salvador
otavio at ossystems.com.br
Wed Apr 30 15:28:54 UTC 2014
On Wed, Apr 30, 2014 at 12:04 PM, Mihaela Sendrea
<mihaela.sendrea at enea.com> wrote:
> Signed-off-by: Mihaela Sendrea <mihaela.sendrea at enea.com>
> ---
> meta-networking/recipes-support/netperf/netperf_2.6.0.bb | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb b/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
> index 45760ad..73a819c 100644
> --- a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
> +++ b/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
> @@ -27,6 +27,11 @@ CFLAGS_append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE"
> CFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'largefile', \
> ' -D_FILE_OFFSET_BITS=64', '', d)}"
>
> +PACKAGECONFIG += "sctp"
> +PACKAGECONFIG[sctp] = "--enable-sctp"
--disable too?
> +DEPENDS += "lksctp-tools"
> +RDEPENDS_${PN} += "kernel-module-sctp"
Add this in the PACKACONFIG setting.
> # autotools.bbclass attends to include m4 files with path depth <= 2 by
> # "find ${S} -maxdepth 2 -name \*.m4", so move m4 files from m4/m4.
> do_configure_prepend() {
> --
> 1.7.10.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the Openembedded-devel
mailing list