summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/lib/librte_port/meson.build
blob: a6b9c273da904c1ed6fcca54b61fc79cdd6e46b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation

sources = files(
	'rte_port_ethdev.c',
	'rte_port_fd.c',
	'rte_port_frag.c',
	'rte_port_ras.c',
	'rte_port_ring.c',
	'rte_port_sched.c',
	'rte_port_source_sink.c',
	'rte_port_sym_crypto.c',
	'rte_port_eventdev.c')
headers = files(
	'rte_port_ethdev.h',
	'rte_port_fd.h',
	'rte_port_frag.h',
	'rte_port_ras.h',
	'rte_port.h',
	'rte_port_ring.h',
	'rte_port_sched.h',
	'rte_port_source_sink.h',
	'rte_port_sym_crypto.h',
	'rte_port_eventdev.h')
deps += ['ethdev', 'sched', 'ip_frag', 'cryptodev', 'eventdev']

if dpdk_conf.has('RTE_PORT_PCAP')
	ext_deps += pcap_dep # dependency provided in config/meson.build
endif

if dpdk_conf.has('RTE_LIBRTE_KNI')
	sources += files('rte_port_kni.c')
	headers += files('rte_port_kni.h')
	deps += 'kni'
endif
build = false
reason = 'not needed by SPDK'