diff options
author | Ross Burton <ross.burton@intel.com> | 2016-04-22 20:48:50 +0100 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-05-05 11:41:28 -0400 |
commit | 275b6c30fbe4f2e6d8c607e9f2eedd5c230c0802 (patch) | |
tree | 4fd20a242b848ec8497066801b86706de3defdce /meta-networking/recipes-support/netperf | |
parent | 7a9c626092c7d3b10206c7ca4ea2827cca9cba4f (diff) | |
download | meta-openembedded-275b6c30fbe4f2e6d8c607e9f2eedd5c230c0802.tar.gz |
meta-networking: use bb.utils.contains() instead of base_contains()
base_contains() is a compatibility wrapper and may warn in the future, so
replace all instances with bb.utils.contains().
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/netperf')
-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 760bab0f3..650fdaeed 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" |