]> git.proxmox.com Git - mirror_qemu.git/blame - hw/pci/meson.build
Merge tag 'seabios-hppa-v7-pull-request' of https://github.com/hdeller/qemu-hppa...
[mirror_qemu.git] / hw / pci / meson.build
CommitLineData
4a328444
MAL
1pci_ss = ss.source_set()
2pci_ss.add(files(
3 'msi.c',
4 'msix.c',
5 'pci.c',
6 'pci_bridge.c',
7 'pci_host.c',
c2c13974 8 'pci-hmp-cmds.c',
987b73b3 9 'pci-qmp-cmds.c',
7c0fa8df 10 'pcie_sriov.c',
4a328444
MAL
11 'shpc.c',
12 'slotid_cap.c'
13))
14# The functions in these modules can be used by devices too. Since we
15# allow plugging PCIe devices into PCI buses, include them even if
16# CONFIG_PCI_EXPRESS=n.
17pci_ss.add(files('pcie.c', 'pcie_aer.c'))
5fb52f6c 18pci_ss.add(files('pcie_doe.c'))
de6cd759
PMD
19system_ss.add(when: 'CONFIG_PCI_EXPRESS', if_true: files('pcie_port.c', 'pcie_host.c'))
20system_ss.add_all(when: 'CONFIG_PCI', if_true: pci_ss)
4a328444 21
de6cd759
PMD
22system_ss.add(when: 'CONFIG_PCI', if_false: files('pci-stub.c'))
23system_ss.add(when: 'CONFIG_ALL', if_true: files('pci-stub.c'))