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