]> git.droids-corp.org - dpdk.git/commitdiff
app: fix missing dependencies
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 15 Oct 2020 15:05:47 +0000 (16:05 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 19 Oct 2020 20:04:32 +0000 (22:04 +0200)
A number of lib and driver dependencies for various apps were missed on
build because the proper macro names for their use were mismatched between
meson and make build systems. Before adding in equivalent compatibility
macros we need to ensure to add the proper dependencies to ensure a valid
build.

Fixes: 16ade738fd0d ("app/testpmd: build with meson")
Fixes: b5dc795a8a55 ("test: build app with meson as dpdk-test")
Fixes: 996ef1176111 ("app: add all remaining apps to meson build")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
app/test-crypto-perf/meson.build
app/test-pmd/meson.build
app/test/meson.build

index f394b75ba50301630da8c0a25f8b85132b6a7d6a..4bd71510dcb0ce11b303f52b0f2db0235475eecc 100644 (file)
@@ -12,3 +12,6 @@ sources = files('cperf_ops.c',
                'cperf_test_verify.c',
                'main.c')
 deps += ['cryptodev', 'net', 'security']
+if dpdk_conf.has('RTE_LIBRTE_PMD_CRYPTO_SCHEDULER')
+       deps += 'pmd_crypto_scheduler'
+endif
index f52ab148f6c96099ad2b9ee55b1392ced44b5556..0d9e4504945c63ec41e161a90724b49c50b95bb4 100644 (file)
@@ -31,6 +31,18 @@ endif
 if dpdk_conf.has('RTE_LIBRTE_PDUMP')
        deps += 'pdump'
 endif
+if dpdk_conf.has('RTE_LIBRTE_BITRATESTATS')
+       deps += 'bitratestats'
+endif
+if dpdk_conf.has('RTE_LIBRTE_LATENCYSTATS')
+       deps += 'latencystats'
+endif
+if dpdk_conf.has('RTE_LIBRTE_PMD_CRYPTO_SCHEDULER')
+       deps += 'pmd_crypto_scheduler'
+endif
+if dpdk_conf.has('RTE_LIBRTE_BOND_PMD')
+       deps += 'pmd_bond'
+endif
 if dpdk_conf.has('RTE_LIBRTE_BNXT_PMD')
        deps += 'pmd_bnxt'
 endif
index dedf29dd7f261924763567a1a7ec8f314828e100..fc90a1909f91542f6496292fd65f8f55898a60cd 100644 (file)
@@ -415,6 +415,7 @@ endif
 
 if dpdk_conf.has('RTE_LIBRTE_PMD_CRYPTO_SCHEDULER')
        driver_test_names += 'cryptodev_scheduler_autotest'
+       test_deps += 'pmd_crypto_scheduler'
 endif
 
 foreach d:test_deps