1 pci_ss = ss.source_set()
12 # The functions in these modules can be used by devices too. Since we
13 # allow plugging PCIe devices into PCI buses, include them even if
14 # CONFIG_PCI_EXPRESS=n.
15 pci_ss.add(files('pcie.c', 'pcie_aer.c'))
16 softmmu_ss.add(when: 'CONFIG_PCI_EXPRESS', if_true: files('pcie_port.c', 'pcie_host.c'))
17 softmmu_ss.add_all(when: 'CONFIG_PCI', if_true: pci_ss)
19 softmmu_ss.add(when: 'CONFIG_PCI', if_false: files('pci-stub.c'))
20 softmmu_ss.add(when: 'CONFIG_ALL', if_true: files('pci-stub.c'))