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>
26 lines
487 B
Meson
26 lines
487 B
Meson
gen = decodetree.process('insns.decode')
|
|
|
|
openrisc_ss = ss.source_set()
|
|
openrisc_ss.add(gen)
|
|
openrisc_ss.add(files(
|
|
'cpu.c',
|
|
'disas.c',
|
|
'exception.c',
|
|
'exception_helper.c',
|
|
'fpu_helper.c',
|
|
'gdbstub.c',
|
|
'interrupt_helper.c',
|
|
'sys_helper.c',
|
|
'translate.c',
|
|
))
|
|
|
|
openrisc_system_ss = ss.source_set()
|
|
openrisc_system_ss.add(files(
|
|
'interrupt.c',
|
|
'machine.c',
|
|
'mmu.c',
|
|
))
|
|
|
|
target_arch += {'openrisc': openrisc_ss}
|
|
target_system_arch += {'openrisc': openrisc_system_ss}
|