xref: /openbmc/qemu/target/mips/meson.build (revision b4b9a0e3)
1mips_user_ss = ss.source_set()
2mips_softmmu_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
16  subdir('tcg')
17endif
18
19mips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
20
21target_arch += {'mips': mips_ss}
22target_softmmu_arch += {'mips': mips_softmmu_ss}
23target_user_arch += {'mips': mips_user_ss}
24