xref: /openbmc/qemu/target/mips/tcg/meson.build (revision 30b6852c)
1gen = [
2  decodetree.process('rel6.decode', extra_args: ['--decode=decode_isa_rel6']),
3  decodetree.process('msa.decode', extra_args: '--decode=decode_ase_msa'),
4  decodetree.process('tx79.decode', extra_args: '--static-decode=decode_tx79'),
5  decodetree.process('vr54xx.decode', extra_args: '--decode=decode_ext_vr54xx'),
6]
7
8mips_ss.add(gen)
9mips_ss.add(files(
10  'dsp_helper.c',
11  'exception.c',
12  'fpu_helper.c',
13  'ldst_helper.c',
14  'lmmi_helper.c',
15  'msa_helper.c',
16  'msa_translate.c',
17  'op_helper.c',
18  'rel6_translate.c',
19  'translate.c',
20  'translate_addr_const.c',
21  'txx9_translate.c',
22  'vr54xx_helper.c',
23  'vr54xx_translate.c',
24))
25mips_ss.add(when: 'TARGET_MIPS64', if_true: files(
26  'tx79_translate.c',
27), if_false: files(
28  'mxu_translate.c',
29))
30
31if have_user
32  subdir('user')
33endif
34if have_system
35  subdir('sysemu')
36endif
37