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_LIBRTE_BITRATESTATS')
29 deps += 'bitratestats'
31 if dpdk_conf.has('RTE_LIBRTE_PDUMP')
34 if dpdk_conf.has('RTE_LIBRTE_BITRATESTATS')
35 deps += 'bitratestats'
37 if dpdk_conf.has('RTE_LIBRTE_LATENCYSTATS')
38 deps += 'latencystats'
40 if dpdk_conf.has('RTE_LIBRTE_PMD_CRYPTO_SCHEDULER')
41 deps += 'pmd_crypto_scheduler'
43 if dpdk_conf.has('RTE_LIBRTE_BOND_PMD')
46 if dpdk_conf.has('RTE_LIBRTE_BNXT_PMD')
49 if dpdk_conf.has('RTE_LIBRTE_I40E_PMD')
52 if dpdk_conf.has('RTE_LIBRTE_IXGBE_PMD')
55 if dpdk_conf.has('RTE_LIBRTE_DPAA_PMD')
56 deps += ['bus_dpaa', 'mempool_dpaa', 'pmd_dpaa']
58 if dpdk_conf.has('RTE_LIBRTE_BPF')
59 sources += files('bpf_cmd.c')