f-stack/dpdk/drivers/bus/pci/meson.build

27 lines
598 B
Meson
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
deps += ['pci']
2021-02-05 08:48:47 +00:00
headers = files('rte_bus_pci.h')
2019-06-25 11:12:58 +00:00
sources = files('pci_common.c',
'pci_params.c')
2020-06-18 16:55:50 +00:00
if is_linux
2021-02-05 08:48:47 +00:00
sources += files('pci_common_uio.c',
'linux/pci.c',
2019-06-25 11:12:58 +00:00
'linux/pci_uio.c',
'linux/pci_vfio.c')
includes += include_directories('linux')
2021-02-05 08:48:47 +00:00
endif
if is_freebsd
sources += files('pci_common_uio.c',
'bsd/pci.c')
2019-06-25 11:12:58 +00:00
includes += include_directories('bsd')
endif
2021-02-05 08:48:47 +00:00
if is_windows
sources += files('windows/pci.c',
'windows/pci_netuio.c')
includes += include_directories('windows')
endif
2019-06-25 11:12:58 +00:00
deps += ['kvargs']