mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13: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 += sh7750.o sh7750_regnames.o
|
||||
obj-y += sh_pci.o
|
||||
obj-$(CONFIG_R2D) += r2d.o
|
||||
obj-$(CONFIG_SHIX) += shix.o
|
10
hw/sh4/meson.build
Normal file
10
hw/sh4/meson.build
Normal file
|
@ -0,0 +1,10 @@
|
|||
sh4_ss = ss.source_set()
|
||||
sh4_ss.add(files(
|
||||
'sh7750.c',
|
||||
'sh7750_regnames.c',
|
||||
'sh_pci.c'
|
||||
))
|
||||
sh4_ss.add(when: 'CONFIG_R2D', if_true: files('r2d.c'))
|
||||
sh4_ss.add(when: 'CONFIG_SHIX', if_true: files('shix.c'))
|
||||
|
||||
hw_arch += {'sh4': sh4_ss}
|
Loading…
Add table
Add a link
Reference in a new issue