Marc-André Lureau | 4f780d5 | 2019-08-15 17:31:07 +0400 | [diff] [blame] | 1 | vfio_ss = ss.source_set() |
| 2 | vfio_ss.add(files( |
Yi Liu | 1e09f52 | 2023-10-09 11:09:05 +0200 | [diff] [blame] | 3 | 'helpers.c', |
Marc-André Lureau | 4f780d5 | 2019-08-15 17:31:07 +0400 | [diff] [blame] | 4 | 'common.c', |
Eric Auger | b08501a | 2023-11-02 15:12:29 +0800 | [diff] [blame] | 5 | 'container-base.c', |
Yi Liu | 7e63b31 | 2023-10-09 11:09:17 +0200 | [diff] [blame] | 6 | 'container.c', |
Kirti Wankhede | a9e271e | 2020-10-26 15:06:14 +0530 | [diff] [blame] | 7 | 'migration.c', |
Steve Sistare | d9fa422 | 2024-02-22 09:28:37 -0800 | [diff] [blame] | 8 | 'cpr.c', |
Marc-André Lureau | 4f780d5 | 2019-08-15 17:31:07 +0400 | [diff] [blame] | 9 | )) |
Cédric Le Goater | 10164df | 2023-12-19 07:58:24 +0100 | [diff] [blame] | 10 | vfio_ss.add(when: 'CONFIG_PSERIES', if_true: files('spapr.c')) |
Yi Liu | 5ee3dc7 | 2023-11-21 16:44:03 +0800 | [diff] [blame] | 11 | vfio_ss.add(when: 'CONFIG_IOMMUFD', if_true: files( |
| 12 | 'iommufd.c', |
| 13 | )) |
Marc-André Lureau | 4f780d5 | 2019-08-15 17:31:07 +0400 | [diff] [blame] | 14 | vfio_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files( |
| 15 | 'display.c', |
| 16 | 'pci-quirks.c', |
| 17 | 'pci.c', |
| 18 | )) |
| 19 | vfio_ss.add(when: 'CONFIG_VFIO_CCW', if_true: files('ccw.c')) |
| 20 | vfio_ss.add(when: 'CONFIG_VFIO_PLATFORM', if_true: files('platform.c')) |
| 21 | vfio_ss.add(when: 'CONFIG_VFIO_XGMAC', if_true: files('calxeda-xgmac.c')) |
| 22 | vfio_ss.add(when: 'CONFIG_VFIO_AMD_XGBE', if_true: files('amd-xgbe.c')) |
| 23 | vfio_ss.add(when: 'CONFIG_VFIO_AP', if_true: files('ap.c')) |
| 24 | vfio_ss.add(when: 'CONFIG_VFIO_IGD', if_true: files('igd.c')) |
| 25 | |
| 26 | specific_ss.add_all(when: 'CONFIG_VFIO', if_true: vfio_ss) |