aboutsummaryrefslogtreecommitdiff
path: root/accel/qtest/meson.build
diff options
context:
space:
mode:
authorClaudio Fontana <cfontana@suse.de>2020-07-07 10:21:10 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-10-05 16:41:22 +0200
commit1583a389885346208217e8170395624b3aa90480 (patch)
tree693c50df1924e5b911781d3387856e084db8746a /accel/qtest/meson.build
parenta77dabc33bcc36ec348854f23e89e0de22ca045b (diff)
cpus: extract out qtest-specific code to accel/qtest
register a "CpusAccel" interface for qtest as well. Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'accel/qtest/meson.build')
-rw-r--r--accel/qtest/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/accel/qtest/meson.build b/accel/qtest/meson.build
new file mode 100644
index 0000000000..e477cb2ae2
--- /dev/null
+++ b/accel/qtest/meson.build
@@ -0,0 +1,7 @@
+qtest_ss = ss.source_set()
+qtest_ss.add(files(
+ 'qtest.c',
+ 'qtest-cpus.c',
+))
+
+specific_ss.add_all(when: ['CONFIG_SOFTMMU', 'CONFIG_POSIX'], if_true: qtest_ss)