![Philippe Mathieu-Daudé](/assets/img/avatar_default.png)
Finish the convertion started with commit de6cd7599b ("meson: Replace softmmu_ss -> system_ss"). If the $target_type is 'system', then use the target_system_arch[] source set :) Mechanical change doing: $ sed -i -e s/target_softmmu_arch/target_system_arch/g \ $(git grep -l target_softmmu_arch) Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20231004090629.37473-13-philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
24 lines
436 B
Meson
24 lines
436 B
Meson
mips_user_ss = ss.source_set()
|
|
mips_system_ss = ss.source_set()
|
|
mips_ss = ss.source_set()
|
|
mips_ss.add(files(
|
|
'cpu.c',
|
|
'fpu.c',
|
|
'gdbstub.c',
|
|
'msa.c',
|
|
))
|
|
|
|
if have_system
|
|
subdir('sysemu')
|
|
endif
|
|
|
|
if 'CONFIG_TCG' in config_all
|
|
subdir('tcg')
|
|
endif
|
|
|
|
mips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
|
|
|
|
target_arch += {'mips': mips_ss}
|
|
target_system_arch += {'mips': mips_system_ss}
|
|
target_user_arch += {'mips': mips_user_ss}
|