Merge tag 'v9.0.0-rc3'
[qemu/ar7.git] / target / i386 / meson.build
blob7c74bfa8591b279e506f64451de406f9d718691d
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   'cpu-dump.c',
8 ))
9 i386_ss.add(when: 'CONFIG_SEV', if_true: files('host-cpu.c'))
11 # x86 cpu type
12 i386_ss.add(when: 'CONFIG_KVM', if_true: files('host-cpu.c'))
13 i386_ss.add(when: 'CONFIG_HVF', if_true: files('host-cpu.c'))
15 i386_system_ss = ss.source_set()
16 i386_system_ss.add(files(
17   'arch_dump.c',
18   'arch_memory_mapping.c',
19   'machine.c',
20   'monitor.c',
21   'cpu-sysemu.c',
23 i386_system_ss.add(when: 'CONFIG_SEV', if_true: files('sev.c'), if_false: files('sev-sysemu-stub.c'))
25 i386_user_ss = ss.source_set()
27 subdir('kvm')
28 subdir('whpx')
29 subdir('nvmm')
30 subdir('hvf')
31 subdir('tcg')
33 target_arch += {'i386': i386_ss}
34 target_system_arch += {'i386': i386_system_ss}
35 target_user_arch += {'i386': i386_user_ss}