xref: /openbmc/qemu/target/mips/meson.build (revision 8b7322add375fb13d199079368bc84e4619478fa)
1abff1abfSPaolo Bonzinimips_ss = ss.source_set()
2abff1abfSPaolo Bonzinimips_ss.add(files(
3abff1abfSPaolo Bonzini  'cpu.c',
4*8b7322adSPhilippe Mathieu-Daudé  'gdbstub.c',
5*8b7322adSPhilippe Mathieu-Daudé))
6*8b7322adSPhilippe 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',
11abff1abfSPaolo Bonzini  'op_helper.c',
124cb213dcSPhilippe Mathieu-Daudé  'tlb_helper.c',
13abff1abfSPaolo Bonzini  'translate.c',
14abff1abfSPaolo Bonzini))
15abff1abfSPaolo Bonzinimips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
16abff1abfSPaolo Bonzini
17abff1abfSPaolo Bonzinimips_softmmu_ss = ss.source_set()
18abff1abfSPaolo Bonzinimips_softmmu_ss.add(files(
192fd9c5adSPhilippe Mathieu-Daudé  'addr.c',
20abff1abfSPaolo Bonzini  'cp0_timer.c',
21abff1abfSPaolo Bonzini  'machine.c',
22abff1abfSPaolo Bonzini  'mips-semi.c',
23abff1abfSPaolo Bonzini))
24*8b7322adSPhilippe Mathieu-Daudémips_softmmu_ss.add(when: 'CONFIG_TCG', if_true: files(
25*8b7322adSPhilippe Mathieu-Daudé  'cp0_helper.c',
26*8b7322adSPhilippe Mathieu-Daudé))
27abff1abfSPaolo Bonzini
28abff1abfSPaolo Bonzinitarget_arch += {'mips': mips_ss}
29abff1abfSPaolo Bonzinitarget_softmmu_arch += {'mips': mips_softmmu_ss}
30