xref: /openbmc/qemu/target/i386/kvm/meson.build (revision f0984d40)
1i386_ss.add(when: 'CONFIG_KVM', if_false: files('kvm-stub.c'))
2
3i386_softmmu_kvm_ss = ss.source_set()
4
5i386_softmmu_kvm_ss.add(files(
6  'kvm.c',
7  'kvm-cpu.c',
8))
9
10i386_softmmu_kvm_ss.add(when: 'CONFIG_SEV', if_false: files('sev-stub.c'))
11
12i386_softmmu_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c'), if_false: files('hyperv-stub.c'))
13
14i386_softmmu_ss.add_all(when: 'CONFIG_KVM', if_true: i386_softmmu_kvm_ss)
15