mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
netperf: enable SCTP support
Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
This commit is contained in:
committed by
Joe MacDonald
parent
ab6a7ff9b3
commit
7734132dd3
@@ -27,6 +27,9 @@ CFLAGS_append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE"
|
|||||||
CFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'largefile', \
|
CFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'largefile', \
|
||||||
' -D_FILE_OFFSET_BITS=64', '', d)}"
|
' -D_FILE_OFFSET_BITS=64', '', d)}"
|
||||||
|
|
||||||
|
PACKAGECONFIG ??= ""
|
||||||
|
PACKAGECONFIG[sctp] = "--enable-sctp,--disable-sctp,lksctp-tools,"
|
||||||
|
|
||||||
# autotools.bbclass attends to include m4 files with path depth <= 2 by
|
# 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.
|
# "find ${S} -maxdepth 2 -name \*.m4", so move m4 files from m4/m4.
|
||||||
do_configure_prepend() {
|
do_configure_prepend() {
|
||||||
@@ -57,5 +60,7 @@ do_install() {
|
|||||||
install -m 0644 ${S}/doc/netperf_old.ps ${D}${docdir}/netperf
|
install -m 0644 ${S}/doc/netperf_old.ps ${D}${docdir}/netperf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RRECOMMENDS_${PN} += "${@base_contains('PACKAGECONFIG', 'sctp', 'kernel-module-sctp', '', d)}"
|
||||||
|
|
||||||
INITSCRIPT_NAME="netperf"
|
INITSCRIPT_NAME="netperf"
|
||||||
INITSCRIPT_PARAMS="defaults"
|
INITSCRIPT_PARAMS="defaults"
|
||||||
|
|||||||
Reference in New Issue
Block a user