From: David Marchand <david.marchand@redhat.com>
To: dev@dpdk.org
Cc: bruce.richardson@intel.com, ferruh.yigit@intel.com,
thomas@monjalon.net, Xiaoyun Li <xiaoyun.li@intel.com>
Subject: [dpdk-dev] [PATCH 2/2] app/testpmd: remove double dependency on bitrate
Date: Fri, 5 Nov 2021 14:30:18 +0100 [thread overview]
Message-ID: <20211105133018.13584-2-david.marchand@redhat.com> (raw)
In-Reply-To: <20211105133018.13584-1-david.marchand@redhat.com>
No need for double dependency, once is enough.
While at it, sort alphabetically.
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
app/test-pmd/meson.build | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/app/test-pmd/meson.build b/app/test-pmd/meson.build
index 21d50e92d0..b05c531c7f 100644
--- a/app/test-pmd/meson.build
+++ b/app/test-pmd/meson.build
@@ -29,20 +29,21 @@ sources = files(
)
deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'bus_pci']
-if dpdk_conf.has('RTE_LIB_BITRATESTATS')
- deps += 'bitratestats'
-endif
-if dpdk_conf.has('RTE_LIB_PDUMP')
- deps += 'pdump'
+if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
+ deps += 'crypto_scheduler'
endif
if dpdk_conf.has('RTE_LIB_BITRATESTATS')
deps += 'bitratestats'
endif
+if dpdk_conf.has('RTE_LIB_BPF')
+ sources += files('bpf_cmd.c')
+ deps += 'bpf'
+endif
if dpdk_conf.has('RTE_LIB_LATENCYSTATS')
deps += 'latencystats'
endif
-if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
- deps += 'crypto_scheduler'
+if dpdk_conf.has('RTE_LIB_PDUMP')
+ deps += 'pdump'
endif
if dpdk_conf.has('RTE_NET_BOND')
deps += 'net_bond'
@@ -59,10 +60,6 @@ endif
if dpdk_conf.has('RTE_NET_DPAA')
deps += ['bus_dpaa', 'mempool_dpaa', 'net_dpaa']
endif
-if dpdk_conf.has('RTE_LIB_BPF')
- sources += files('bpf_cmd.c')
- deps += 'bpf'
-endif
jansson_dep = dependency('jansson', required: false, method: 'pkg-config')
if jansson_dep.found()
dpdk_conf.set('RTE_HAS_JANSSON', 1)
--
2.23.0
next prev parent reply other threads:[~2021-11-05 13:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-05 13:30 [dpdk-dev] [PATCH 1/2] app/testpmd: remove unneeded dependency on meter David Marchand
2021-11-05 13:30 ` David Marchand [this message]
2021-11-05 23:55 ` [dpdk-dev] [PATCH 2/2] app/testpmd: remove double dependency on bitrate Ferruh Yigit
2021-11-05 13:40 ` [dpdk-dev] [PATCH 1/2] app/testpmd: remove unneeded dependency on meter Bruce Richardson
2021-11-05 23:54 ` Ferruh Yigit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211105133018.13584-2-david.marchand@redhat.com \
--to=david.marchand@redhat.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=thomas@monjalon.net \
--cc=xiaoyun.li@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).