mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 11:53:53 -06:00

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
251 B
Meson
6 lines
251 B
Meson
sparc_ss = ss.source_set()
|
|
sparc_ss.add(when: 'CONFIG_LEON3', if_true: files('leon3.c'))
|
|
sparc_ss.add(when: 'CONFIG_SUN4M', if_true: files('sun4m.c'))
|
|
sparc_ss.add(when: 'CONFIG_SUN4M', if_true: files('sun4m_iommu.c'))
|
|
|
|
hw_arch += {'sparc': sparc_ss}
|