xref: /openbmc/qemu/target/sparc/meson.build (revision 2df1eb27)
1gen = decodetree.process('insns.decode')
2
3sparc_ss = ss.source_set()
4sparc_ss.add(gen)
5sparc_ss.add(files(
6  'cpu.c',
7  'fop_helper.c',
8  'gdbstub.c',
9  'helper.c',
10  'ldst_helper.c',
11  'translate.c',
12  'win_helper.c',
13))
14sparc_ss.add(when: 'TARGET_SPARC', if_true: files('int32_helper.c'))
15sparc_ss.add(when: 'TARGET_SPARC64', if_true: files('int64_helper.c', 'vis_helper.c'))
16
17sparc_system_ss = ss.source_set()
18sparc_system_ss.add(files(
19  'machine.c',
20  'mmu_helper.c',
21  'monitor.c',
22))
23
24target_arch += {'sparc': sparc_ss}
25target_system_arch += {'sparc': sparc_system_ss}
26