2021-04-18 15:16:06 +02:00
|
|
|
mips_user_ss = ss.source_set()
|
2021-04-13 10:31:44 +02:00
|
|
|
mips_softmmu_ss = ss.source_set()
|
2020-08-07 12:10:23 +02:00
|
|
|
mips_ss = ss.source_set()
|
|
|
|
mips_ss.add(files(
|
|
|
|
'cpu.c',
|
2021-01-16 13:55:03 +01:00
|
|
|
'fpu.c',
|
2020-12-06 23:45:09 +01:00
|
|
|
'gdbstub.c',
|
2021-01-16 16:32:06 +01:00
|
|
|
'msa.c',
|
2020-12-06 23:45:09 +01:00
|
|
|
))
|
2021-04-13 10:31:44 +02:00
|
|
|
|
|
|
|
if have_system
|
|
|
|
subdir('sysemu')
|
|
|
|
endif
|
|
|
|
|
2021-04-18 15:16:06 +02:00
|
|
|
if 'CONFIG_TCG' in config_all
|
|
|
|
subdir('tcg')
|
|
|
|
endif
|
2021-02-17 21:23:49 +01:00
|
|
|
|
2020-08-07 12:10:23 +02:00
|
|
|
mips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
|
|
|
|
|
|
|
|
target_arch += {'mips': mips_ss}
|
|
|
|
target_softmmu_arch += {'mips': mips_softmmu_ss}
|
2021-04-18 15:16:06 +02:00
|
|
|
target_user_arch += {'mips': mips_user_ss}
|