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