summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-07-22 10:43:00 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-01-06 00:51:02 +0100
commit9c9b85d705abdcce0b63f9182d8140dd67bd13fb (patch)
tree3c656ef0ee6381df2cac27121cc1a400933d17d5
parent2d73fa74728dccde5cc29c4e56b4d781e4ead7c4 (diff)
downloadfocaccia-qemu-9c9b85d705abdcce0b63f9182d8140dd67bd13fb.tar.gz
focaccia-qemu-9c9b85d705abdcce0b63f9182d8140dd67bd13fb.zip
meson: cleanup dummy-cpus.c rules
Now that qtest is available on all targets including Windows, dummy-cpus.c
is included unconditionally in the build.  It also does not need to be
compiled per-target.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--accel/meson.build9
1 files changed, 2 insertions, 7 deletions
diff --git a/accel/meson.build b/accel/meson.build
index 259c35c4c8..3a480cc2ef 100644
--- a/accel/meson.build
+++ b/accel/meson.build
@@ -11,10 +11,5 @@ if have_system
   subdir('stubs')
 endif
 
-dummy_ss = ss.source_set()
-dummy_ss.add(files(
-  'dummy-cpus.c',
-))
-
-specific_ss.add_all(when: ['CONFIG_SOFTMMU'], if_true: dummy_ss)
-specific_ss.add_all(when: ['CONFIG_XEN'], if_true: dummy_ss)
+# qtest
+softmmu_ss.add(files('dummy-cpus.c'))