1mips_ss = ss.source_set() 2mips_ss.add(files( 3 'cp0_helper.c', 4 'cpu.c', 5 'dsp_helper.c', 6 'fpu_helper.c', 7 'gdbstub.c', 8 'helper.c', 9 'lmmi_helper.c', 10 'msa_helper.c', 11 'op_helper.c', 12 'translate.c', 13)) 14mips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c')) 15 16mips_softmmu_ss = ss.source_set() 17mips_softmmu_ss.add(files( 18 'cp0_timer.c', 19 'machine.c', 20 'mips-semi.c', 21)) 22 23target_arch += {'mips': mips_ss} 24target_softmmu_arch += {'mips': mips_softmmu_ss} 25