[2/2] app/testpmd: remove double dependency on bitrate
Checks
Commit Message
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(-)
Comments
On 11/5/2021 1:30 PM, David Marchand wrote:
> No need for double dependency, once is enough.
> While at it, sort alphabetically.
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
Fixes: fac83b3ef8ac ("app: fix missing dependencies")
Cc: stable@dpdk.org
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Applied to dpdk-next-net/main, thanks.
@@ -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)