numam-dpdk/drivers/bus/pci/meson.build
David Marchand 30105f664f drivers: add headers install helper
A lot of drivers export headers, reproduce the same facility than for
libraries.

Note: this change fixes an issue with the crypto scheduler headers which
were not installed properly. A separate backport will be sent to stable
branches.

Suggested-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2020-10-22 14:16:22 +02:00

27 lines
598 B
Meson

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
deps += ['pci']
headers = files('rte_bus_pci.h')
sources = files('pci_common.c',
'pci_params.c')
if is_linux
sources += files('pci_common_uio.c',
'linux/pci.c',
'linux/pci_uio.c',
'linux/pci_vfio.c')
includes += include_directories('linux')
endif
if is_freebsd
sources += files('pci_common_uio.c',
'bsd/pci.c')
includes += include_directories('bsd')
endif
if is_windows
sources += files('windows/pci.c',
'windows/pci_netuio.c')
includes += include_directories('windows')
endif
deps += ['kvargs']