01c85e60a4
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>
28 lines
518 B
Meson
28 lines
518 B
Meson
xtensa_ss = ss.source_set()
|
|
|
|
xtensa_cores = fs.read('cores.list')
|
|
xtensa_ss.add(files(xtensa_cores.strip().split('\n')))
|
|
|
|
xtensa_ss.add(files(
|
|
'cpu.c',
|
|
'exc_helper.c',
|
|
'fpu_helper.c',
|
|
'gdbstub.c',
|
|
'helper.c',
|
|
'op_helper.c',
|
|
'translate.c',
|
|
'win_helper.c',
|
|
'xtensa-isa.c',
|
|
))
|
|
|
|
xtensa_system_ss = ss.source_set()
|
|
xtensa_system_ss.add(files(
|
|
'dbg_helper.c',
|
|
'mmu_helper.c',
|
|
'monitor.c',
|
|
'xtensa-semi.c',
|
|
))
|
|
|
|
target_arch += {'xtensa': xtensa_ss}
|
|
target_system_arch += {'xtensa': xtensa_system_ss}
|