xref: /openbmc/qemu/target/mips/meson.build (revision cfc1a889e509ffeba6e44cca8ff626751bc4219e)
10a31c16cSPhilippe Mathieu-Daudémips_user_ss = ss.source_set()
2de6cd759SPhilippe Mathieu-Daudémips_system_ss = ss.source_set()
3abff1abfSPaolo Bonzinimips_ss = ss.source_set()
4abff1abfSPaolo Bonzinimips_ss.add(files(
5abff1abfSPaolo Bonzini  'cpu.c',
6830a7230SPhilippe Mathieu-Daudé  'fpu.c',
78b7322adSPhilippe Mathieu-Daudé  'gdbstub.c',
8fed50ffdSPhilippe Mathieu-Daudé  'msa.c',
98b7322adSPhilippe Mathieu-Daudé))
1085d8da3fSPhilippe Mathieu-Daudé
1185d8da3fSPhilippe Mathieu-Daudéif have_system
1285d8da3fSPhilippe Mathieu-Daudé  subdir('sysemu')
1385d8da3fSPhilippe Mathieu-Daudéendif
1485d8da3fSPhilippe Mathieu-Daudé
15*cfc1a889SPaolo Bonziniif 'CONFIG_TCG' in config_all_accel
160a31c16cSPhilippe Mathieu-Daudé  subdir('tcg')
170a31c16cSPhilippe Mathieu-Daudéendif
18b24db6fcSPhilippe Mathieu-Daudé
19abff1abfSPaolo Bonzinimips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
20abff1abfSPaolo Bonzini
21abff1abfSPaolo Bonzinitarget_arch += {'mips': mips_ss}
2201c85e60SPhilippe Mathieu-Daudétarget_system_arch += {'mips': mips_system_ss}
230a31c16cSPhilippe Mathieu-Daudétarget_user_arch += {'mips': mips_user_ss}
24