xref: /openbmc/qemu/target/mips/meson.build (revision 2df1eb27)
1mips_user_ss = ss.source_set()
2mips_system_ss = ss.source_set()
3mips_ss = ss.source_set()
4mips_ss.add(files(
5  'cpu.c',
6  'fpu.c',
7  'gdbstub.c',
8  'msa.c',
9))
10
11if have_system
12  subdir('sysemu')
13endif
14
15if 'CONFIG_TCG' in config_all_accel
16  subdir('tcg')
17endif
18
19mips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
20
21target_arch += {'mips': mips_ss}
22target_system_arch += {'mips': mips_system_ss}
23target_user_arch += {'mips': mips_user_ss}
24