master
build 32 lines 728 Bytes
Raw
1 system_ss.add(when: ['CONFIG_XEN_BUS'], if_true: files(
2 'xen-backend.c',
3 'xen-bus-helper.c',
4 'xen-bus.c',
5 'xen-legacy-backend.c',
6 'xen_devconfig.c',
7 'xen_pvdev.c',
8 ))
9
10 xen_common_ss = ss.source_set()
11 xen_common_ss.add(files(
12 'xen-hvm-common.c',
13 'xen-mapcache.c',
14 'xen-operations.c',
15 'xen-pvh-common.c',
16 ))
17
18 if have_xen_pci_passthrough
19 xen_common_ss.add(files(
20 'xen-host-pci-device.c',
21 'xen_pt.c',
22 'xen_pt_config_init.c',
23 'xen_pt_graphics.c',
24 'xen_pt_load_rom.c',
25 'xen_pt_msi.c',
26 ))
27 else
28 xen_common_ss.add(files('xen_pt_stub.c'))
29 endif
30
31 system_ss.add_all(when: ['CONFIG_XEN', xen], if_true: xen_common_ss)
32 system_ss.add(when: ['CONFIG_XEN', xen], if_false: files('xen_stubs.c'))