xref: /openbmc/qemu/target/mips/meson.build (revision c7a9ef75173f090616328d6870f71e8da2b6bd50)
1*c7a9ef75SPhilippe Mathieu-Daudégen = [
2*c7a9ef75SPhilippe Mathieu-Daudé  decodetree.process('msa32.decode', extra_args: '--static-decode=decode_msa32'),
3*c7a9ef75SPhilippe Mathieu-Daudé]
4*c7a9ef75SPhilippe Mathieu-Daudé
5abff1abfSPaolo Bonzinimips_ss = ss.source_set()
6*c7a9ef75SPhilippe Mathieu-Daudémips_ss.add(gen)
7abff1abfSPaolo Bonzinimips_ss.add(files(
8abff1abfSPaolo Bonzini  'cpu.c',
98b7322adSPhilippe Mathieu-Daudé  'gdbstub.c',
108b7322adSPhilippe Mathieu-Daudé))
118b7322adSPhilippe Mathieu-Daudémips_ss.add(when: 'CONFIG_TCG', if_true: files(
12abff1abfSPaolo Bonzini  'dsp_helper.c',
13abff1abfSPaolo Bonzini  'fpu_helper.c',
14abff1abfSPaolo Bonzini  'lmmi_helper.c',
15abff1abfSPaolo Bonzini  'msa_helper.c',
1680e64a38SPhilippe Mathieu-Daudé  'msa_translate.c',
17abff1abfSPaolo Bonzini  'op_helper.c',
184cb213dcSPhilippe Mathieu-Daudé  'tlb_helper.c',
19abff1abfSPaolo Bonzini  'translate.c',
20abff1abfSPaolo Bonzini))
21abff1abfSPaolo Bonzinimips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
22abff1abfSPaolo Bonzini
23abff1abfSPaolo Bonzinimips_softmmu_ss = ss.source_set()
24abff1abfSPaolo Bonzinimips_softmmu_ss.add(files(
252fd9c5adSPhilippe Mathieu-Daudé  'addr.c',
26abff1abfSPaolo Bonzini  'cp0_timer.c',
27abff1abfSPaolo Bonzini  'machine.c',
28abff1abfSPaolo Bonzini  'mips-semi.c',
29abff1abfSPaolo Bonzini))
308b7322adSPhilippe Mathieu-Daudémips_softmmu_ss.add(when: 'CONFIG_TCG', if_true: files(
318b7322adSPhilippe Mathieu-Daudé  'cp0_helper.c',
328b7322adSPhilippe Mathieu-Daudé))
33abff1abfSPaolo Bonzini
34abff1abfSPaolo Bonzinitarget_arch += {'mips': mips_ss}
35abff1abfSPaolo Bonzinitarget_softmmu_arch += {'mips': mips_softmmu_ss}
36