Merge remote-tracking branch 'remotes/alistair23/tags/pull-riscv-to-apply-20211022...
[qemu.git] / target / openrisc / meson.build
1 gen = decodetree.process('insns.decode')
2
3 openrisc_ss = ss.source_set()
4 openrisc_ss.add(gen)
5 openrisc_ss.add(files(
6   'cpu.c',
7   'disas.c',
8   'exception.c',
9   'exception_helper.c',
10   'fpu_helper.c',
11   'gdbstub.c',
12   'interrupt_helper.c',
13   'mmu.c',
14   'sys_helper.c',
15   'translate.c',
16 ))
17
18 openrisc_softmmu_ss = ss.source_set()
19 openrisc_softmmu_ss.add(files(
20   'interrupt.c',
21   'machine.c',
22 ))
23
24 target_arch += {'openrisc': openrisc_ss}
25 target_softmmu_arch += {'openrisc': openrisc_softmmu_ss}