xref: /openbmc/qemu/target/i386/meson.build (revision 4c4465ff)
1i386_ss = ss.source_set()
2i386_ss.add(files(
3  'cpu.c',
4  'gdbstub.c',
5  'helper.c',
6  'xsave_helper.c',
7  'cpu-dump.c',
8))
9i386_ss.add(when: 'CONFIG_SEV', if_true: files('sev.c'), if_false: files('sev-stub.c'))
10
11i386_softmmu_ss = ss.source_set()
12i386_softmmu_ss.add(files(
13  'arch_dump.c',
14  'arch_memory_mapping.c',
15  'machine.c',
16  'monitor.c',
17))
18
19subdir('kvm')
20subdir('hax')
21subdir('whpx')
22subdir('hvf')
23subdir('tcg')
24
25target_arch += {'i386': i386_ss}
26target_softmmu_arch += {'i386': i386_softmmu_ss}
27