]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | # SPDX-License-Identifier: BSD-3-Clause |
2 | # Copyright(c) 2017 Intel Corporation | |
3 | ||
9f95a23c TL |
4 | version = 2 |
5 | ||
11fdf7f2 TL |
6 | deps += ['pci'] |
7 | install_headers('rte_bus_pci.h') | |
9f95a23c TL |
8 | sources = files('pci_common.c', |
9 | 'pci_common_uio.c', | |
10 | 'pci_params.c') | |
11 | if is_linux | |
11fdf7f2 TL |
12 | sources += files('linux/pci.c', |
13 | 'linux/pci_uio.c', | |
14 | 'linux/pci_vfio.c') | |
15 | includes += include_directories('linux') | |
11fdf7f2 TL |
16 | else |
17 | sources += files('bsd/pci.c') | |
18 | includes += include_directories('bsd') | |
19 | endif | |
20 | ||
21 | # memseg walk is not part of stable API yet | |
22 | allow_experimental_apis = true | |
9f95a23c TL |
23 | |
24 | deps += ['kvargs'] |