mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 02:58:29 +00: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:
committed by
Paolo Bonzini
parent
b2c00bce54
commit
2c44220d05
@@ -1,2 +0,0 @@
|
||||
obj-y = pic_cpu.o cputimer.o
|
||||
obj-$(CONFIG_OR1K_SIM) += openrisc_sim.o
|
||||
5
hw/openrisc/meson.build
Normal file
5
hw/openrisc/meson.build
Normal file
@@ -0,0 +1,5 @@
|
||||
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}
|
||||
Reference in New Issue
Block a user