[oe] [meta-networking][PATCH v3 2/2] netperf: enable SCTP support
Mihaela Sendrea
mihaela.sendrea at enea.com
Fri May 2 13:36:41 UTC 2014
Signed-off-by: Mihaela Sendrea <mihaela.sendrea at enea.com>
---
meta-networking/recipes-support/netperf/netperf_2.6.0.bb | 3 +++
1 file changed, 3 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..64e3be0 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,9 @@ CFLAGS_append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE"
CFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'largefile', \
' -D_FILE_OFFSET_BITS=64', '', d)}"
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'sctp', 'sctp', '', d)}"
+PACKAGECONFIG[sctp] = "--enable-sctp,--disable-sctp,lksctp-tools,kernel-module-sctp"
+
# 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
More information about the Openembedded-devel
mailing list