xref: /openbmc/qemu/target/xtensa/meson.build (revision 235fe6d0)
1xtensa_ss = ss.source_set()
2
3xtensa_cores = fs.read('cores.list')
4xtensa_ss.add(files(xtensa_cores.strip().split('\n')))
5
6xtensa_ss.add(files(
7  'cpu.c',
8  'exc_helper.c',
9  'fpu_helper.c',
10  'gdbstub.c',
11  'helper.c',
12  'op_helper.c',
13  'translate.c',
14  'win_helper.c',
15  'xtensa-isa.c',
16))
17
18xtensa_system_ss = ss.source_set()
19xtensa_system_ss.add(files(
20  'dbg_helper.c',
21  'mmu_helper.c',
22  'monitor.c',
23  'xtensa-semi.c',
24))
25
26target_arch += {'xtensa': xtensa_ss}
27target_system_arch += {'xtensa': xtensa_system_ss}
28