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>
15 lines
282 B
Meson
15 lines
282 B
Meson
moxie_ss = ss.source_set()
|
|
moxie_ss.add(files(
|
|
'cpu.c',
|
|
'helper.c',
|
|
'machine.c',
|
|
'machine.c',
|
|
'translate.c',
|
|
))
|
|
|
|
moxie_softmmu_ss = ss.source_set()
|
|
moxie_softmmu_ss.add(files('mmu.c'))
|
|
|
|
target_arch += {'moxie': moxie_ss}
|
|
target_softmmu_arch += {'moxie': moxie_softmmu_ss}
|