diff options
Diffstat (limited to 'meta-networking/recipes-support/netperf/netperf_2.6.0.bb')
| -rw-r--r-- | meta-networking/recipes-support/netperf/netperf_2.6.0.bb | 4 |
1 files changed, 2 insertions, 2 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 760bab0f30..650fdaeedb 100644 --- a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb +++ b/meta-networking/recipes-support/netperf/netperf_2.6.0.bb | |||
| @@ -24,7 +24,7 @@ CFLAGS_append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE" | |||
| 24 | 24 | ||
| 25 | # set the "_FILE_OFFSET_BITS" preprocessor symbol to 64 to support files | 25 | # set the "_FILE_OFFSET_BITS" preprocessor symbol to 64 to support files |
| 26 | # larger than 2GB | 26 | # larger than 2GB |
| 27 | CFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'largefile', \ | 27 | CFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', \ |
| 28 | ' -D_FILE_OFFSET_BITS=64', '', d)}" | 28 | ' -D_FILE_OFFSET_BITS=64', '', d)}" |
| 29 | 29 | ||
| 30 | PACKAGECONFIG ??= "" | 30 | PACKAGECONFIG ??= "" |
| @@ -60,7 +60,7 @@ do_install() { | |||
| 60 | install -m 0644 ${S}/doc/netperf_old.ps ${D}${docdir}/netperf | 60 | install -m 0644 ${S}/doc/netperf_old.ps ${D}${docdir}/netperf |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | RRECOMMENDS_${PN} += "${@base_contains('PACKAGECONFIG', 'sctp', 'kernel-module-sctp', '', d)}" | 63 | RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'sctp', 'kernel-module-sctp', '', d)}" |
| 64 | 64 | ||
| 65 | INITSCRIPT_NAME="netperf" | 65 | INITSCRIPT_NAME="netperf" |
| 66 | INITSCRIPT_PARAMS="defaults" | 66 | INITSCRIPT_PARAMS="defaults" |
