1 # FIXME extra_args should accept files()
2 dir = meson.current_source_dir()
4 decodetree.process('insn16.decode', extra_args: [dir / 'insn16-32.decode', '--static-decode=decode_insn16', '--insnwidth=16']),
5 decodetree.process('insn32.decode', extra_args: '--static-decode=decode_insn32'),
9 decodetree.process('insn16.decode', extra_args: [dir / 'insn16-64.decode', '--static-decode=decode_insn16', '--insnwidth=16']),
10 decodetree.process('insn32.decode', extra_args: [dir / 'insn32-64.decode', '--static-decode=decode_insn32']),
13 riscv_ss = ss.source_set()
14 riscv_ss.add(when: 'TARGET_RISCV32', if_true: gen32)
15 riscv_ss.add(when: 'TARGET_RISCV64', if_true: gen64)
27 riscv_softmmu_ss = ss.source_set()
28 riscv_softmmu_ss.add(files(
34 target_arch += {'riscv': riscv_ss}
35 target_softmmu_arch += {'riscv': riscv_softmmu_ss}