xref: /openbmc/qemu/target/mips/meson.build (revision 80e64a380feb891700cbb21e4966c898dd9c5af9)
1abff1abfSPaolo Bonzinimips_ss = ss.source_set()
2abff1abfSPaolo Bonzinimips_ss.add(files(
3abff1abfSPaolo Bonzini  'cpu.c',
48b7322adSPhilippe Mathieu-Daudé  'gdbstub.c',
58b7322adSPhilippe Mathieu-Daudé))
68b7322adSPhilippe Mathieu-Daudémips_ss.add(when: 'CONFIG_TCG', if_true: files(
7abff1abfSPaolo Bonzini  'dsp_helper.c',
8abff1abfSPaolo Bonzini  'fpu_helper.c',
9abff1abfSPaolo Bonzini  'lmmi_helper.c',
10abff1abfSPaolo Bonzini  'msa_helper.c',
11*80e64a38SPhilippe Mathieu-Daudé  'msa_translate.c',
12abff1abfSPaolo Bonzini  'op_helper.c',
134cb213dcSPhilippe Mathieu-Daudé  'tlb_helper.c',
14abff1abfSPaolo Bonzini  'translate.c',
15abff1abfSPaolo Bonzini))
16abff1abfSPaolo Bonzinimips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
17abff1abfSPaolo Bonzini
18abff1abfSPaolo Bonzinimips_softmmu_ss = ss.source_set()
19abff1abfSPaolo Bonzinimips_softmmu_ss.add(files(
202fd9c5adSPhilippe Mathieu-Daudé  'addr.c',
21abff1abfSPaolo Bonzini  'cp0_timer.c',
22abff1abfSPaolo Bonzini  'machine.c',
23abff1abfSPaolo Bonzini  'mips-semi.c',
24abff1abfSPaolo Bonzini))
258b7322adSPhilippe Mathieu-Daudémips_softmmu_ss.add(when: 'CONFIG_TCG', if_true: files(
268b7322adSPhilippe Mathieu-Daudé  'cp0_helper.c',
278b7322adSPhilippe Mathieu-Daudé))
28abff1abfSPaolo Bonzini
29abff1abfSPaolo Bonzinitarget_arch += {'mips': mips_ss}
30abff1abfSPaolo Bonzinitarget_softmmu_arch += {'mips': mips_softmmu_ss}
31