[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 067/143] meson: convert most of softmmu/
From: |
Paolo Bonzini |
Subject: |
[PATCH 067/143] meson: convert most of softmmu/ |
Date: |
Thu, 6 Aug 2020 21:15:03 +0200 |
Leave out main.c and vl.c, they're special due to fuzzing.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
meson.build | 2 ++
softmmu/Makefile.objs | 11 -----------
softmmu/meson.build | 9 +++++++++
3 files changed, 11 insertions(+), 11 deletions(-)
create mode 100644 softmmu/meson.build
diff --git a/meson.build b/meson.build
index 266ff64..bab875e 100644
--- a/meson.build
+++ b/meson.build
@@ -618,6 +618,8 @@ softmmu_ss.add(when: ['CONFIG_FDT', fdt], if_true:
[files('device_tree.c')])
common_ss.add(files('cpus-common.c'))
+subdir('softmmu')
+
# needed for fuzzing binaries
subdir('tests/qtest/libqos')
diff --git a/softmmu/Makefile.objs b/softmmu/Makefile.objs
index a414a74..dd15c24 100644
--- a/softmmu/Makefile.objs
+++ b/softmmu/Makefile.objs
@@ -1,14 +1,3 @@
softmmu-main-y = softmmu/main.o
-
-obj-y += arch_init.o
-obj-y += cpus.o
-obj-y += cpu-throttle.o
-obj-y += balloon.o
-obj-y += ioport.o
-obj-y += memory.o
-obj-y += memory_mapping.o
-
-obj-y += qtest.o
-
obj-y += vl.o
vl.o-cflags := $(GPROF_CFLAGS) $(SDL_CFLAGS)
diff --git a/softmmu/meson.build b/softmmu/meson.build
new file mode 100644
index 0000000..d4ac51b
--- /dev/null
+++ b/softmmu/meson.build
@@ -0,0 +1,9 @@
+specific_ss.add(files(
+ 'arch_init.c',
+ 'balloon.c',
+ 'cpus.c',
+ 'cpu-throttle.c',
+ 'ioport.c',
+ 'memory.c',
+ 'memory_mapping.c',
+ 'qtest.c'))
--
1.8.3.1
- [PATCH 062/143] meson: convert chardev directory to Meson (emulator part), (continued)
- [PATCH 062/143] meson: convert chardev directory to Meson (emulator part), Paolo Bonzini, 2020/08/06
- [PATCH 063/143] meson: convert tests/qtest to meson, Paolo Bonzini, 2020/08/06
- [PATCH 064/143] meson: convert audio directory to Meson, Paolo Bonzini, 2020/08/06
- [PATCH 066/143] meson: convert root directory to Meson, Paolo Bonzini, 2020/08/06
- [PATCH 068/143] meson: convert most of softmmu/, Paolo Bonzini, 2020/08/06
- [PATCH 067/143] meson: convert most of softmmu/,
Paolo Bonzini <=
- [PATCH 065/143] meson: convert ui directory to Meson, Paolo Bonzini, 2020/08/06
- [PATCH 070/143] meson: convert block/, Paolo Bonzini, 2020/08/06
- [PATCH 069/143] meson: convert trace/, Paolo Bonzini, 2020/08/06
- [PATCH 071/143] meson: convert dump/, Paolo Bonzini, 2020/08/06
- [PATCH 073/143] meson: convert qemu-storage-daemon, Paolo Bonzini, 2020/08/06
- [PATCH 072/143] meson: convert common QMP bits for qemu and qemu-storage-daemon, Paolo Bonzini, 2020/08/06
- [PATCH 074/143] meson: convert replay directory to Meson, Paolo Bonzini, 2020/08/06
- [PATCH 075/143] meson: convert migration directory to Meson, Paolo Bonzini, 2020/08/06