hw/intc: ibex_plic: Honour source priorities
[qemu/ar7.git] / target / i386 / meson.build
blobe0b71ade56c044de99a9db5281afe8e34a3fc06d
1 i386_ss = ss.source_set()
2 i386_ss.add(files(
3   'cpu.c',
4   'gdbstub.c',
5   'helper.c',
6   'xsave_helper.c',
7 ))
8 i386_ss.add(when: 'CONFIG_TCG', if_true: files(
9   'bpt_helper.c',
10   'cc_helper.c',
11   'excp_helper.c',
12   'fpu_helper.c',
13   'int_helper.c',
14   'mem_helper.c',
15   'misc_helper.c',
16   'mpx_helper.c',
17   'seg_helper.c',
18   'smm_helper.c',
19   'svm_helper.c',
20   'translate.c'), if_false: files('tcg-stub.c'))
21 i386_ss.add(when: 'CONFIG_KVM', if_false: files('kvm-stub.c'))
22 i386_ss.add(when: 'CONFIG_SEV', if_true: files('sev.c'), if_false: files('sev-stub.c'))
24 i386_softmmu_ss = ss.source_set()
25 i386_softmmu_ss.add(files(
26   'arch_dump.c',
27   'arch_memory_mapping.c',
28   'machine.c',
29   'monitor.c',
31 i386_softmmu_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c'), if_false: files('hyperv-stub.c'))
32 i386_softmmu_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
33 i386_softmmu_ss.add(when: 'CONFIG_WHPX', if_true: files('whpx-all.c'))
34 i386_softmmu_ss.add(when: ['CONFIG_POSIX', 'CONFIG_HAX'], if_true: files('hax-all.c', 'hax-mem.c', 'hax-posix.c'))
35 i386_softmmu_ss.add(when: ['CONFIG_WIN32', 'CONFIG_HAX'], if_true: files('hax-all.c', 'hax-mem.c', 'hax-windows.c'))
37 subdir('hvf')
39 target_arch += {'i386': i386_ss}
40 target_softmmu_arch += {'i386': i386_softmmu_ss}