xref: /qemu/hw/pci-host/meson.build (revision d7a84021)
1pci_ss = ss.source_set()
2pci_ss.add(when: 'CONFIG_PAM', if_true: files('pam.c'))
3pci_ss.add(when: 'CONFIG_PCI_BONITO', if_true: files('bonito.c'))
4pci_ss.add(when: 'CONFIG_PCI_EXPRESS_DESIGNWARE', if_true: files('designware.c'))
5pci_ss.add(when: 'CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', if_true: files('gpex.c'))
6pci_ss.add(when: 'CONFIG_ACPI', if_true: files('gpex-acpi.c'))
7pci_ss.add(when: 'CONFIG_PCI_EXPRESS_Q35', if_true: files('q35.c'))
8pci_ss.add(when: 'CONFIG_PCI_EXPRESS_XILINX', if_true: files('xilinx-pcie.c'))
9pci_ss.add(when: 'CONFIG_PCI_I440FX', if_true: files('i440fx.c'))
10pci_ss.add(when: 'CONFIG_PCI_SABRE', if_true: files('sabre.c'))
11pci_ss.add(when: 'CONFIG_XEN_IGD_PASSTHROUGH', if_true: files('xen_igd_pt.c'))
12pci_ss.add(when: 'CONFIG_REMOTE_PCIHOST', if_true: files('remote.c'))
13
14# PPC devices
15pci_ss.add(when: 'CONFIG_PREP_PCI', if_true: files('prep.c'))
16pci_ss.add(when: 'CONFIG_GRACKLE_PCI', if_true: files('grackle.c'))
17# NewWorld PowerMac
18pci_ss.add(when: 'CONFIG_UNIN_PCI', if_true: files('uninorth.c'))
19# PowerPC E500 boards
20pci_ss.add(when: 'CONFIG_PPCE500_PCI', if_true: files('ppce500.c'))
21
22# ARM devices
23pci_ss.add(when: 'CONFIG_VERSATILE_PCI', if_true: files('versatile.c'))
24
25softmmu_ss.add_all(when: 'CONFIG_PCI', if_true: pci_ss)
26
27specific_ss.add(when: 'CONFIG_PCI_POWERNV', if_true: files(
28  'pnv_phb3.c',
29  'pnv_phb3_msi.c',
30  'pnv_phb3_pbcq.c',
31  'pnv_phb4.c',
32  'pnv_phb4_pec.c'
33))
34