summaryrefslogtreecommitdiffstats
path: root/hw/cris
diff options
context:
space:
mode:
authorMarc-André Lureau2019-08-17 11:55:58 +0200
committerPaolo Bonzini2020-08-21 12:30:33 +0200
commit2c44220d055d12142f27cf513848f17d6007ae35 (patch)
tree72593b21d3f6e20a325be46bfc05b69457e14244 /hw/cris
parentmeson: convert hw/9pfs, cleanup (diff)
downloadqemu-2c44220d055d12142f27cf513848f17d6007ae35.tar.gz
qemu-2c44220d055d12142f27cf513848f17d6007ae35.tar.xz
qemu-2c44220d055d12142f27cf513848f17d6007ae35.zip
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>
Diffstat (limited to 'hw/cris')
-rw-r--r--hw/cris/Makefile.objs2
-rw-r--r--hw/cris/meson.build5
2 files changed, 5 insertions, 2 deletions
diff --git a/hw/cris/Makefile.objs b/hw/cris/Makefile.objs
deleted file mode 100644
index a4a27b3a13..0000000000
--- a/hw/cris/Makefile.objs
+++ /dev/null
@@ -1,2 +0,0 @@
-obj-y += boot.o
-obj-$(CONFIG_AXIS) += axis_dev88.o
diff --git a/hw/cris/meson.build b/hw/cris/meson.build
new file mode 100644
index 0000000000..dc808a4e0f
--- /dev/null
+++ b/hw/cris/meson.build
@@ -0,0 +1,5 @@
+cris_ss = ss.source_set()
+cris_ss.add(files('boot.c'))
+cris_ss.add(when: 'CONFIG_AXIS', if_true: files('axis_dev88.c'))
+
+hw_arch += {'cris': cris_ss}