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>
16 lines
297 B
Meson
16 lines
297 B
Meson
lm32_ss = ss.source_set()
|
|
lm32_ss.add(files(
|
|
'cpu.c',
|
|
'gdbstub.c',
|
|
'helper.c',
|
|
'lm32-semi.c',
|
|
'op_helper.c',
|
|
'translate.c',
|
|
))
|
|
|
|
lm32_softmmu_ss = ss.source_set()
|
|
lm32_softmmu_ss.add(files('machine.c'))
|
|
|
|
target_arch += {'lm32': lm32_ss}
|
|
target_softmmu_arch += {'lm32': lm32_softmmu_ss}
|