xref: /openbmc/qemu/target/sparc/meson.build (revision 1538d763)
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  'mmu_helper.c',
10  'translate.c',
11  'win_helper.c',
12))
13sparc_ss.add(when: 'TARGET_SPARC', if_true: files('int32_helper.c'))
14sparc_ss.add(when: 'TARGET_SPARC64', if_true: files('int64_helper.c', 'vis_helper.c'))
15
16sparc_softmmu_ss = ss.source_set()
17sparc_softmmu_ss.add(files(
18  'machine.c',
19  'monitor.c',
20))
21
22target_arch += {'sparc': sparc_ss}
23target_softmmu_arch += {'sparc': sparc_softmmu_ss}
24