114f2b0b7SSong Gaogen = decodetree.process('insns.decode') 214f2b0b7SSong Gao 314f2b0b7SSong Gaoloongarch_ss = ss.source_set() 414f2b0b7SSong Gaoloongarch_ss.add(files( 514f2b0b7SSong Gao 'cpu.c', 6beb60920SSong Gao 'gdbstub.c', 714f2b0b7SSong Gao)) 814f2b0b7SSong Gao 9de6cd759SPhilippe Mathieu-Daudéloongarch_system_ss = ss.source_set() 10de6cd759SPhilippe Mathieu-Daudéloongarch_system_ss.add(files( 11*32c22cc4SBibo Mao 'arch_dump.c', 1227edd504SSong Gao 'cpu_helper.c', 13381b43f8SPhilippe Mathieu-Daudé 'loongarch-qmp-cmds.c', 1467ebd42aSXiaojuan Yang 'machine.c', 1567ebd42aSXiaojuan Yang)) 1667ebd42aSXiaojuan Yang 172e0d9151SRichard Hendersoncommon_ss.add(when: 'CONFIG_LOONGARCH_DIS', if_true: [files('disas.c'), gen]) 182e0d9151SRichard Henderson 195c23704eSSong Gaosubdir('tcg') 2014f2b0b7SSong Gao 2114f2b0b7SSong Gaotarget_arch += {'loongarch': loongarch_ss} 2201c85e60SPhilippe Mathieu-Daudétarget_system_arch += {'loongarch': loongarch_system_ss} 23714b03c1STianrui Zhaosubdir('kvm') 24