1 # FIXME extra_args should accept files()
2 dir = meson.current_source_dir()
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 decodetree.process('XVentanaCondOps.decode', extra_args: '--static-decode=decode_XVentanaCodeOps'),
10 riscv_ss = ss.source_set()
25 riscv_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'), if_false: files('kvm-stub.c'))
27 riscv_softmmu_ss = ss.source_set()
28 riscv_softmmu_ss.add(files(
36 target_arch += {'riscv': riscv_ss}
37 target_softmmu_arch += {'riscv': riscv_softmmu_ss}