]> Git Repo - qemu.git/blob - target/riscv/meson.build
target/riscv: Add target/riscv/kvm.c to place the public kvm interface
[qemu.git] / target / riscv / meson.build
1 # FIXME extra_args should accept files()
2 dir = meson.current_source_dir()
3
4 gen = [
5   decodetree.process('insn16.decode', extra_args: ['--static-decode=decode_insn16', '--insnwidth=16']),
6   decodetree.process('insn32.decode', extra_args: '--static-decode=decode_insn32'),
7 ]
8
9 riscv_ss = ss.source_set()
10 riscv_ss.add(gen)
11 riscv_ss.add(files(
12   'cpu.c',
13   'cpu_helper.c',
14   'csr.c',
15   'fpu_helper.c',
16   'gdbstub.c',
17   'op_helper.c',
18   'vector_helper.c',
19   'bitmanip_helper.c',
20   'translate.c',
21   'm128_helper.c'
22 ))
23 riscv_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
24
25 riscv_softmmu_ss = ss.source_set()
26 riscv_softmmu_ss.add(files(
27   'arch_dump.c',
28   'pmp.c',
29   'monitor.c',
30   'machine.c'
31 ))
32
33 target_arch += {'riscv': riscv_ss}
34 target_softmmu_arch += {'riscv': riscv_softmmu_ss}
This page took 0.0256 seconds and 4 git commands to generate.