mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
meson: convert hw/arch*
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>
This commit is contained in:
parent
b2c00bce54
commit
2c44220d05
55 changed files with 399 additions and 236 deletions
|
@ -1,4 +0,0 @@
|
|||
obj-y += sparc64.o
|
||||
obj-$(CONFIG_SUN4U) += sun4u_iommu.o
|
||||
obj-$(CONFIG_SUN4U) += sun4u.o
|
||||
obj-$(CONFIG_NIAGARA) += niagara.o
|
6
hw/sparc64/meson.build
Normal file
6
hw/sparc64/meson.build
Normal file
|
@ -0,0 +1,6 @@
|
|||
sparc64_ss = ss.source_set()
|
||||
sparc64_ss.add(files('sparc64.c'))
|
||||
sparc64_ss.add(when: 'CONFIG_NIAGARA', if_true: files('niagara.c'))
|
||||
sparc64_ss.add(when: 'CONFIG_SUN4U', if_true: files('sun4u.c', 'sun4u_iommu.c'))
|
||||
|
||||
hw_arch += {'sparc64': sparc64_ss}
|
Loading…
Add table
Add a link
Reference in a new issue