abff1abfe8
Similar to hw_arch, each architecture defines two sourceset which are placed in dictionaries target_arch and target_softmmu_arch. These are then picked up from there when building the per-emulator static_library. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
24 lines
486 B
Meson
24 lines
486 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.c',
|
|
'interrupt_helper.c',
|
|
'mmu.c',
|
|
'sys_helper.c',
|
|
'translate.c',
|
|
))
|
|
|
|
openrisc_softmmu_ss = ss.source_set()
|
|
openrisc_softmmu_ss.add(files('machine.c'))
|
|
|
|
target_arch += {'openrisc': openrisc_ss}
|
|
target_softmmu_arch += {'openrisc': openrisc_softmmu_ss}
|