xref: /openbmc/qemu/target/mips/meson.build (revision 2fd9c5ad4449c862932b21e8f6b4573cc50b9ae8)
1abff1abfSPaolo Bonzinimips_ss = ss.source_set()
2abff1abfSPaolo Bonzinimips_ss.add(files(
3abff1abfSPaolo Bonzini  'cpu.c',
4abff1abfSPaolo Bonzini  'dsp_helper.c',
5abff1abfSPaolo Bonzini  'fpu_helper.c',
6abff1abfSPaolo Bonzini  'gdbstub.c',
7abff1abfSPaolo Bonzini  'helper.c',
8abff1abfSPaolo Bonzini  'lmmi_helper.c',
9abff1abfSPaolo Bonzini  'msa_helper.c',
10abff1abfSPaolo Bonzini  'op_helper.c',
11abff1abfSPaolo Bonzini  'translate.c',
12abff1abfSPaolo Bonzini))
13abff1abfSPaolo Bonzinimips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
14abff1abfSPaolo Bonzini
15abff1abfSPaolo Bonzinimips_softmmu_ss = ss.source_set()
16abff1abfSPaolo Bonzinimips_softmmu_ss.add(files(
17*2fd9c5adSPhilippe Mathieu-Daudé  'addr.c',
1855671f80SPhilippe Mathieu-Daudé  'cp0_helper.c',
19abff1abfSPaolo Bonzini  'cp0_timer.c',
20abff1abfSPaolo Bonzini  'machine.c',
21abff1abfSPaolo Bonzini  'mips-semi.c',
22abff1abfSPaolo Bonzini))
23abff1abfSPaolo Bonzini
24abff1abfSPaolo Bonzinitarget_arch += {'mips': mips_ss}
25abff1abfSPaolo Bonzinitarget_softmmu_arch += {'mips': mips_softmmu_ss}
26