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'
7 sources = files('5tswap.c',
27 deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'meter', 'bus_pci']
28 if dpdk_conf.has('RTE_LIB_BITRATESTATS')
29 deps += 'bitratestats'
31 if dpdk_conf.has('RTE_LIB_PDUMP')
34 if dpdk_conf.has('RTE_LIB_BITRATESTATS')
35 deps += 'bitratestats'
37 if dpdk_conf.has('RTE_LIB_LATENCYSTATS')
38 deps += 'latencystats'
40 if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
41 deps += 'crypto_scheduler'
43 if dpdk_conf.has('RTE_NET_BOND')
46 if dpdk_conf.has('RTE_NET_BNXT')
49 if dpdk_conf.has('RTE_NET_I40E')
52 if dpdk_conf.has('RTE_NET_IXGBE')
55 if dpdk_conf.has('RTE_NET_DPAA')
56 deps += ['bus_dpaa', 'mempool_dpaa', 'net_dpaa']
58 if dpdk_conf.has('RTE_LIB_BPF')
59 sources += files('bpf_cmd.c')