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'
29 deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'meter', 'bus_pci']
30 if dpdk_conf.has('RTE_LIB_BITRATESTATS')
31 deps += 'bitratestats'
33 if dpdk_conf.has('RTE_LIB_PDUMP')
36 if dpdk_conf.has('RTE_LIB_BITRATESTATS')
37 deps += 'bitratestats'
39 if dpdk_conf.has('RTE_LIB_LATENCYSTATS')
40 deps += 'latencystats'
42 if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
43 deps += 'crypto_scheduler'
45 if dpdk_conf.has('RTE_NET_BOND')
48 if dpdk_conf.has('RTE_NET_BNXT')
51 if dpdk_conf.has('RTE_NET_I40E')
54 if dpdk_conf.has('RTE_NET_IXGBE')
57 if dpdk_conf.has('RTE_NET_DPAA')
58 deps += ['bus_dpaa', 'mempool_dpaa', 'net_dpaa']
60 if dpdk_conf.has('RTE_LIB_BPF')
61 sources += files('bpf_cmd.c')