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
333 B
Meson
15 lines
333 B
Meson
unicore32_ss = ss.source_set()
|
|
unicore32_ss.add(files(
|
|
'cpu.c',
|
|
'helper.c',
|
|
'op_helper.c',
|
|
'translate.c',
|
|
'ucf64_helper.c',
|
|
), curses)
|
|
|
|
unicore32_softmmu_ss = ss.source_set()
|
|
unicore32_softmmu_ss.add(files('softmmu.c'))
|
|
|
|
target_arch += {'unicore32': unicore32_ss}
|
|
target_softmmu_arch += {'unicore32': unicore32_softmmu_ss}
|