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