diff options
| -rw-r--r-- | meta-networking/recipes-support/netperf/netperf_2.6.0.bb | 5 |
1 files changed, 5 insertions, 0 deletions
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 7124b02e3f..ffa77d7bb9 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" | |||
| 27 | CFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'largefile', \ | 27 | CFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'largefile', \ |
| 28 | ' -D_FILE_OFFSET_BITS=64', '', d)}" | 28 | ' -D_FILE_OFFSET_BITS=64', '', d)}" |
| 29 | 29 | ||
| 30 | PACKAGECONFIG ??= "" | ||
| 31 | PACKAGECONFIG[sctp] = "--enable-sctp,--disable-sctp,lksctp-tools," | ||
| 32 | |||
| 30 | # autotools.bbclass attends to include m4 files with path depth <= 2 by | 33 | # autotools.bbclass attends to include m4 files with path depth <= 2 by |
| 31 | # "find ${S} -maxdepth 2 -name \*.m4", so move m4 files from m4/m4. | 34 | # "find ${S} -maxdepth 2 -name \*.m4", so move m4 files from m4/m4. |
| 32 | do_configure_prepend() { | 35 | do_configure_prepend() { |
| @@ -57,5 +60,7 @@ do_install() { | |||
| 57 | install -m 0644 ${S}/doc/netperf_old.ps ${D}${docdir}/netperf | 60 | install -m 0644 ${S}/doc/netperf_old.ps ${D}${docdir}/netperf |
| 58 | } | 61 | } |
| 59 | 62 | ||
| 63 | RRECOMMENDS_${PN} += "${@base_contains('PACKAGECONFIG', 'sctp', 'kernel-module-sctp', '', d)}" | ||
| 64 | |||
| 60 | INITSCRIPT_NAME="netperf" | 65 | INITSCRIPT_NAME="netperf" |
| 61 | INITSCRIPT_PARAMS="defaults" | 66 | INITSCRIPT_PARAMS="defaults" |
