summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-07-22 23:40:45 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-21 06:30:23 -0400
commit17ef2af6b67f29bb5c5c687f07216544830f167a (patch)
tree6b34f24b5cc50a987d7897f82a98e0ff015e645b
parent7c58bb769dce4764b413ae4a9e13c4c54d537b87 (diff)
downloadqemu-17ef2af6b67f29bb5c5c687f07216544830f167a.zip
meson: convert replay directory to Meson
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--Makefile.objs1
-rw-r--r--meson.build1
-rw-r--r--replay/Makefile.objs10
-rw-r--r--replay/meson.build12
4 files changed, 13 insertions, 11 deletions
diff --git a/Makefile.objs b/Makefile.objs
index e304d92954..cfb2cf2b49 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -68,7 +68,6 @@ common-obj-$(if $(and $(CONFIG_BZIP2),$(CONFIG_DMG)),m) += block-dmg-bz2$(DSOSUF
common-obj-y += hw/
common-obj-m += hw/
-common-obj-y += replay/
common-obj-y += backends/
common-obj-y += qapi/
diff --git a/meson.build b/meson.build
index 4ff3f7bccb..60313b2eae 100644
--- a/meson.build
+++ b/meson.build
@@ -656,6 +656,7 @@ common_ss.add(files('cpus-common.c'))
subdir('softmmu')
subdir('monitor')
+subdir('replay')
# needed for fuzzing binaries
subdir('tests/qtest/libqos')
diff --git a/replay/Makefile.objs b/replay/Makefile.objs
deleted file mode 100644
index 939be964a9..0000000000
--- a/replay/Makefile.objs
+++ /dev/null
@@ -1,10 +0,0 @@
-common-obj-y += replay.o
-common-obj-y += replay-internal.o
-common-obj-y += replay-events.o
-common-obj-y += replay-time.o
-common-obj-y += replay-input.o
-common-obj-y += replay-char.o
-common-obj-y += replay-snapshot.o
-common-obj-y += replay-net.o
-common-obj-y += replay-audio.o
-common-obj-y += replay-random.o
diff --git a/replay/meson.build b/replay/meson.build
new file mode 100644
index 0000000000..8783aea7c8
--- /dev/null
+++ b/replay/meson.build
@@ -0,0 +1,12 @@
+softmmu_ss.add(files(
+ 'replay.c',
+ 'replay-internal.c',
+ 'replay-events.c',
+ 'replay-time.c',
+ 'replay-input.c',
+ 'replay-char.c',
+ 'replay-snapshot.c',
+ 'replay-net.c',
+ 'replay-audio.c',
+ 'replay-random.c',
+))