spapr: Simplify error handling in spapr_cpu_core_realize()
[qemu/ar7.git] / hw / vfio / meson.build
blob37efa74018bc0800d0cf78c5f92446bc09f91384
1 vfio_ss = ss.source_set()
2 vfio_ss.add(files(
3   'common.c',
4   'spapr.c',
5 ))
6 vfio_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files(
7   'display.c',
8   'pci-quirks.c',
9   'pci.c',
11 vfio_ss.add(when: 'CONFIG_VFIO_CCW', if_true: files('ccw.c'))
12 vfio_ss.add(when: 'CONFIG_VFIO_PLATFORM', if_true: files('platform.c'))
13 vfio_ss.add(when: 'CONFIG_VFIO_XGMAC', if_true: files('calxeda-xgmac.c'))
14 vfio_ss.add(when: 'CONFIG_VFIO_AMD_XGBE', if_true: files('amd-xgbe.c'))
15 vfio_ss.add(when: 'CONFIG_VFIO_AP', if_true: files('ap.c'))
16 vfio_ss.add(when: 'CONFIG_VFIO_IGD', if_true: files('igd.c'))
18 specific_ss.add_all(when: 'CONFIG_VFIO', if_true: vfio_ss)