mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03: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,3 +0,0 @@
|
|||
obj-y = boot.o cpu_pic.o
|
||||
obj-$(CONFIG_NIOS2_10M50) += 10m50_devboard.o
|
||||
obj-$(CONFIG_NIOS2_GENERIC_NOMMU) += generic_nommu.o
|
6
hw/nios2/meson.build
Normal file
6
hw/nios2/meson.build
Normal file
|
@ -0,0 +1,6 @@
|
|||
nios2_ss = ss.source_set()
|
||||
nios2_ss.add(files('boot.c', 'cpu_pic.c'))
|
||||
nios2_ss.add(when: 'CONFIG_NIOS2_10M50', if_true: files('10m50_devboard.c'))
|
||||
nios2_ss.add(when: 'CONFIG_NIOS2_GENERIC_NOMMU', if_true: files('generic_nommu.c'))
|
||||
|
||||
hw_arch += {'nios2': nios2_ss}
|
Loading…
Add table
Add a link
Reference in a new issue