Each architecture's sourceset is placed in an hw_arch dictionary, and 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>
6 lines
193 B
Meson
6 lines
193 B
Meson
openrisc_ss = ss.source_set()
|
|
openrisc_ss.add(files('pic_cpu.c', 'cputimer.c'))
|
|
openrisc_ss.add(when: 'CONFIG_OR1K_SIM', if_true: files('openrisc_sim.c'))
|
|
|
|
hw_arch += {'openrisc': openrisc_ss}
|