gen = [ decodetree.process('insn.decode', extra_args: '--varinsnwidth=64'), ] cr16c_ss = ss.source_set() cr16c_ss.add(gen) cr16c_ss.add(files( 'cpu.c', 'helper.c', 'translate.c', 'disas.c', )) cr16c_system_ss = ss.source_set() cr16c_system_ss.add(files('machine.c')) target_arch += {'cr16c': cr16c_ss} target_system_arch += {'cr16c': cr16c_system_ss}