meson.build 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. pci_ss = ss.source_set()
  2. pci_ss.add(when: 'CONFIG_PAM', if_true: files('pam.c'))
  3. pci_ss.add(when: 'CONFIG_PCI_BONITO', if_true: files('bonito.c'))
  4. pci_ss.add(when: 'CONFIG_GT64120', if_true: files('gt64120.c'))
  5. pci_ss.add(when: 'CONFIG_PCI_EXPRESS_DESIGNWARE', if_true: files('designware.c'))
  6. pci_ss.add(when: 'CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', if_true: files('gpex.c'))
  7. pci_ss.add(when: ['CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', 'CONFIG_ACPI'], if_true: files('gpex-acpi.c'))
  8. pci_ss.add(when: 'CONFIG_PCI_EXPRESS_Q35', if_true: files('q35.c'))
  9. pci_ss.add(when: 'CONFIG_PCI_EXPRESS_XILINX', if_true: files('xilinx-pcie.c'))
  10. pci_ss.add(when: 'CONFIG_PCI_I440FX', if_true: files('i440fx.c'))
  11. pci_ss.add(when: 'CONFIG_PCI_SABRE', if_true: files('sabre.c'))
  12. pci_ss.add(when: 'CONFIG_XEN_IGD_PASSTHROUGH', if_true: files('xen_igd_pt.c'))
  13. pci_ss.add(when: 'CONFIG_REMOTE_PCIHOST', if_true: files('remote.c'))
  14. pci_ss.add(when: 'CONFIG_SH_PCI', if_true: files('sh_pci.c'))
  15. # PPC devices
  16. pci_ss.add(when: 'CONFIG_RAVEN_PCI', if_true: files('raven.c'))
  17. pci_ss.add(when: 'CONFIG_GRACKLE_PCI', if_true: files('grackle.c'))
  18. # NewWorld PowerMac
  19. pci_ss.add(when: 'CONFIG_UNIN_PCI', if_true: files('uninorth.c'))
  20. # PowerPC E500 boards
  21. pci_ss.add(when: 'CONFIG_PPCE500_PCI', if_true: files('ppce500.c'))
  22. # Pegasos2
  23. pci_ss.add(when: 'CONFIG_MV64361', if_true: files('mv64361.c'))
  24. # ARM devices
  25. pci_ss.add(when: 'CONFIG_VERSATILE_PCI', if_true: files('versatile.c'))
  26. # HPPA devices
  27. pci_ss.add(when: 'CONFIG_DINO', if_true: files('dino.c'))
  28. softmmu_ss.add_all(when: 'CONFIG_PCI', if_true: pci_ss)
  29. specific_ss.add(when: 'CONFIG_PCI_POWERNV', if_true: files(
  30. 'pnv_phb3.c',
  31. 'pnv_phb3_msi.c',
  32. 'pnv_phb3_pbcq.c',
  33. 'pnv_phb4.c',
  34. 'pnv_phb4_pec.c',
  35. 'pnv_phb.c',
  36. ))