]> git.proxmox.com Git - mirror_qemu.git/blame - target/riscv/meson.build
Merge tag 'pull-maintainer-may24-160524-2' of https://gitlab.com/stsquad/qemu into...
[mirror_qemu.git] / target / riscv / meson.build
CommitLineData
abff1abf 1# FIXME extra_args should accept files()
6baba30a
AF
2gen = [
3 decodetree.process('insn16.decode', extra_args: ['--static-decode=decode_insn16', '--insnwidth=16']),
daf866b6 4 decodetree.process('insn32.decode', extra_args: '--static-decode=decode_insn32'),
49a7f3aa 5 decodetree.process('xthead.decode', extra_args: '--static-decode=decode_xthead'),
0d429bd2 6 decodetree.process('XVentanaCondOps.decode', extra_args: '--static-decode=decode_XVentanaCodeOps'),
abff1abf
PB
7]
8
9riscv_ss = ss.source_set()
6baba30a 10riscv_ss.add(gen)
abff1abf
PB
11riscv_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',
98f40dd2 19 'vector_internals.c',
831ec7f3 20 'bitmanip_helper.c',
abff1abf 21 'translate.c',
68d19b58 22 'm128_helper.c',
ce3af0bb 23 'crypto_helper.c',
e13c7d3b
LH
24 'zce_helper.c',
25 'vcrypto_helper.c'
abff1abf
PB
26))
27
de6cd759
PMD
28riscv_system_ss = ss.source_set()
29riscv_system_ss.add(files(
43a96588 30 'arch_dump.c',
abff1abf 31 'pmp.c',
95799e36 32 'debug.c',
f7697f0e 33 'monitor.c',
3780e337 34 'machine.c',
43888c2f 35 'pmu.c',
c0177f91
DHB
36 'time_helper.c',
37 'riscv-qmp-cmds.c',
abff1abf
PB
38))
39
9c5180d7 40subdir('tcg')
fb80f333 41subdir('kvm')
9c5180d7 42
abff1abf 43target_arch += {'riscv': riscv_ss}
01c85e60 44target_system_arch += {'riscv': riscv_system_ss}