[dpdk-dev] [PATCH 2/2] app/testpmd: remove double dependency on bitrate
David Marchand
david.marchand at redhat.com
Fri Nov 5 14:30:18 CET 2021
No need for double dependency, once is enough.
While at it, sort alphabetically.
Signed-off-by: David Marchand <david.marchand at 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
More information about the dev
mailing list