xref: /openbmc/qemu/target/xtensa/meson.build (revision f101c9fe)
1xtensa_ss = ss.source_set()
2
3xtensa_cores = run_command('sh', '-c', 'cd $MESON_SOURCE_ROOT/$MESON_SUBDIR ; ls -1 core-*.c')
4xtensa_ss.add(files(xtensa_cores.stdout().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_softmmu_ss = ss.source_set()
19xtensa_softmmu_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_softmmu_arch += {'xtensa': xtensa_softmmu_ss}
28