1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
4 # override default name to drop the hyphen
6 cflags += '-Wno-deprecated-declarations'
31 if dpdk_conf.has('RTE_HAS_JANSSON')
32 ext_deps += jansson_dep
35 deps += ['ethdev', 'cmdline', 'bus_pci']
36 if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
37 deps += 'crypto_scheduler'
39 if dpdk_conf.has('RTE_LIB_BITRATESTATS')
40 deps += 'bitratestats'
42 if dpdk_conf.has('RTE_LIB_BPF')
43 sources += files('bpf_cmd.c')
46 if dpdk_conf.has('RTE_LIB_GRO')
49 if dpdk_conf.has('RTE_LIB_GSO')
52 if dpdk_conf.has('RTE_LIB_LATENCYSTATS')
53 deps += 'latencystats'
55 if dpdk_conf.has('RTE_LIB_METRICS')
58 if dpdk_conf.has('RTE_LIB_PDUMP')
61 if dpdk_conf.has('RTE_NET_BOND')
64 if dpdk_conf.has('RTE_NET_BNXT')
67 if dpdk_conf.has('RTE_NET_I40E')
70 if dpdk_conf.has('RTE_NET_IXGBE')
73 if dpdk_conf.has('RTE_NET_DPAA')
74 deps += ['bus_dpaa', 'mempool_dpaa', 'net_dpaa']
77 # Driver-specific commands are located in driver directories.
78 includes = include_directories('.')
79 sources += testpmd_drivers_sources
80 deps += testpmd_drivers_deps