mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
2c44220d05
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>
11 lines
342 B
Meson
11 lines
342 B
Meson
xtensa_ss = ss.source_set()
|
|
xtensa_ss.add(files(
|
|
'mx_pic.c',
|
|
'pic_cpu.c',
|
|
'xtensa_memory.c',
|
|
))
|
|
xtensa_ss.add(when: 'CONFIG_XTENSA_SIM', if_true: files('sim.c'))
|
|
xtensa_ss.add(when: 'CONFIG_XTENSA_VIRT', if_true: files('virt.c'))
|
|
xtensa_ss.add(when: 'CONFIG_XTENSA_XTFPGA', if_true: files('xtfpga.c'))
|
|
|
|
hw_arch += {'xtensa': xtensa_ss}
|