Merge remote-tracking branch 'qemu-project/master'
[qemu/ar7.git] / hw / i386 / kvm / meson.build
bloba4a2e23c06ef295f29cb23cf22d3fbdc6873b4ca
1 i386_kvm_ss = ss.source_set()
2 i386_kvm_ss.add(files('clock.c'))
3 i386_kvm_ss.add(when: 'CONFIG_APIC', if_true: files('apic.c'))
4 i386_kvm_ss.add(when: 'CONFIG_I8254', if_true: files('i8254.c'))
5 i386_kvm_ss.add(when: 'CONFIG_I8259', if_true: files('i8259.c'))
6 i386_kvm_ss.add(when: 'CONFIG_IOAPIC', if_true: files('ioapic.c'))
7 i386_kvm_ss.add(when: 'CONFIG_XEN_EMU', if_true: files(
8   'xen_overlay.c',
9   'xen_evtchn.c',
10   'xen_gnttab.c',
11   'xen_xenstore.c',
12   'xen_primary_console.c',
13   'xenstore_impl.c',
14   ))
16 i386_ss.add_all(when: 'CONFIG_KVM', if_true: i386_kvm_ss)
18 xen_stubs_ss = ss.source_set()
19 xen_stubs_ss.add(when: 'CONFIG_XEN_EMU', if_false: files(
20   'xen-stubs.c',
23 specific_ss.add_all(when: 'CONFIG_SYSTEM_ONLY', if_true: xen_stubs_ss)