2021-04-18 15:16:06 +02:00
|
|
|
mips_user_ss = ss.source_set()
|
2023-06-13 15:33:47 +02:00
|
|
|
mips_system_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
|
|
|
|
|
2023-09-29 11:40:03 +02:00
|
|
|
if 'CONFIG_TCG' in config_all_accel
|
2021-04-18 15:16:06 +02:00
|
|
|
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}
|
2023-10-04 11:06:27 +02:00
|
|
|
target_system_arch += {'mips': mips_system_ss}
|
2021-04-18 15:16:06 +02:00
|
|
|
target_user_arch += {'mips': mips_user_ss}
|