[oe] [meta-networking][PATCH 2/2] netperf: enable SCTP support
Mihaela Sendrea
mihaela.sendrea at enea.com
Wed Apr 30 12:12:51 UTC 2014
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"
+DEPENDS += "lksctp-tools"
+RDEPENDS_${PN} += "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.8.5.3
More information about the Openembedded-devel
mailing list