xref: /qemu/hw/pci-host/meson.build (revision a7db759ef70fdc6ec7e79c603d3daf7c87113bba)
19235a82dSMarc-André Lureaupci_ss = ss.source_set()
29235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PAM', if_true: files('pam.c'))
39235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PCI_BONITO', if_true: files('bonito.c'))
4*a7db759eSPhilippe Mathieu-Daudépci_ss.add(when: 'CONFIG_GT64120', if_true: files('gt64120.c'))
59235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PCI_EXPRESS_DESIGNWARE', if_true: files('designware.c'))
69235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', if_true: files('gpex.c'))
74872fdf7SPhilippe Mathieu-Daudépci_ss.add(when: ['CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', 'CONFIG_ACPI'], if_true: files('gpex-acpi.c'))
89235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PCI_EXPRESS_Q35', if_true: files('q35.c'))
99235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PCI_EXPRESS_XILINX', if_true: files('xilinx-pcie.c'))
109235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PCI_I440FX', if_true: files('i440fx.c'))
119235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PCI_SABRE', if_true: files('sabre.c'))
129235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_XEN_IGD_PASSTHROUGH', if_true: files('xen_igd_pt.c'))
136fbd84d6SJagannathan Ramanpci_ss.add(when: 'CONFIG_REMOTE_PCIHOST', if_true: files('remote.c'))
14c64bd101SPhilippe Mathieu-Daudépci_ss.add(when: 'CONFIG_SH_PCI', if_true: files('sh_pci.c'))
159235a82dSMarc-André Lureau
169235a82dSMarc-André Lureau# PPC devices
1746fd3201SPhilippe Mathieu-Daudépci_ss.add(when: 'CONFIG_RAVEN_PCI', if_true: files('raven.c'))
189235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_GRACKLE_PCI', if_true: files('grackle.c'))
199235a82dSMarc-André Lureau# NewWorld PowerMac
209235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_UNIN_PCI', if_true: files('uninorth.c'))
219235a82dSMarc-André Lureau# PowerPC E500 boards
229235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PPCE500_PCI', if_true: files('ppce500.c'))
23dcdf98a9SBALATON Zoltan# Pegasos2
24dcdf98a9SBALATON Zoltanpci_ss.add(when: 'CONFIG_MV64361', if_true: files('mv64361.c'))
259235a82dSMarc-André Lureau
269235a82dSMarc-André Lureau# ARM devices
279235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_VERSATILE_PCI', if_true: files('versatile.c'))
289235a82dSMarc-André Lureau
290db9350eSMark Cave-Ayland# HPPA devices
300db9350eSMark Cave-Aylandpci_ss.add(when: 'CONFIG_DINO', if_true: files('dino.c'))
310db9350eSMark Cave-Ayland
329235a82dSMarc-André Lureausoftmmu_ss.add_all(when: 'CONFIG_PCI', if_true: pci_ss)
339235a82dSMarc-André Lureau
34995d9556SGreg Kurzspecific_ss.add(when: 'CONFIG_PCI_POWERNV', if_true: files(
359235a82dSMarc-André Lureau  'pnv_phb3.c',
369235a82dSMarc-André Lureau  'pnv_phb3_msi.c',
379235a82dSMarc-André Lureau  'pnv_phb3_pbcq.c',
389235a82dSMarc-André Lureau  'pnv_phb4.c',
39e4e6db52SDaniel Henrique Barboza  'pnv_phb4_pec.c',
40e4e6db52SDaniel Henrique Barboza  'pnv_phb.c',
419235a82dSMarc-André Lureau))
42