[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 070/147] meson: convert most of softmmu/
From: |
Paolo Bonzini |
Subject: |
[PATCH 070/147] meson: convert most of softmmu/ |
Date: |
Mon, 10 Aug 2020 19:07:48 +0200 |
Leave out main.c, it's special due to fuzzing.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
meson.build | 2 ++
softmmu/Makefile.objs | 14 +-------------
softmmu/meson.build | 10 ++++++++++
3 files changed, 13 insertions(+), 13 deletions(-)
create mode 100644 softmmu/meson.build
diff --git a/meson.build b/meson.build
index c923e89..3481c5b 100644
--- a/meson.build
+++ b/meson.build
@@ -633,6 +633,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..ebcfd15 100644
--- a/softmmu/Makefile.objs
+++ b/softmmu/Makefile.objs
@@ -1,14 +1,2 @@
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)
+main.o-cflags := $(GPROF_CFLAGS) $(SDL_CFLAGS)
diff --git a/softmmu/meson.build b/softmmu/meson.build
new file mode 100644
index 0000000..95d38df
--- /dev/null
+++ b/softmmu/meson.build
@@ -0,0 +1,10 @@
+specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: files(
+ 'arch_init.c',
+ 'balloon.c',
+ 'cpus.c',
+ 'cpu-throttle.c',
+ 'ioport.c',
+ 'memory.c',
+ 'memory_mapping.c',
+ 'qtest.c',
+ 'vl.c'))
--
1.8.3.1
- [PATCH 059/147] meson: add modules infrastructure, (continued)
- [PATCH 059/147] meson: add modules infrastructure, Paolo Bonzini, 2020/08/10
- [PATCH 060/147] meson: convert chardev directory to Meson (tools part), Paolo Bonzini, 2020/08/10
- [PATCH 061/147] meson: convert block, Paolo Bonzini, 2020/08/10
- [PATCH 063/147] meson: qemu-pr-helper, Paolo Bonzini, 2020/08/10
- [PATCH 064/147] configure, Makefile; remove TOOLS and HELPERS-y variable, Paolo Bonzini, 2020/08/10
- [PATCH 065/147] meson: convert chardev directory to Meson (emulator part), Paolo Bonzini, 2020/08/10
- [PATCH 066/147] meson: convert tests/qtest to meson, Paolo Bonzini, 2020/08/10
- [PATCH 062/147] meson: qemu-{img,io,nbd}, Paolo Bonzini, 2020/08/10
- [PATCH 069/147] meson: convert root directory to Meson, Paolo Bonzini, 2020/08/10
- [PATCH 070/147] meson: convert most of softmmu/,
Paolo Bonzini <=
- [PATCH 071/147] meson: convert trace/, Paolo Bonzini, 2020/08/10
- [PATCH 067/147] meson: convert audio directory to Meson, Paolo Bonzini, 2020/08/10
- [PATCH 057/147] meson: infrastructure for building emulators, Paolo Bonzini, 2020/08/10
- [PATCH 072/147] meson: convert dump/, Paolo Bonzini, 2020/08/10
- [PATCH 068/147] meson: convert ui directory to Meson, Paolo Bonzini, 2020/08/10
- [PATCH 073/147] meson: convert common QMP bits for qemu and qemu-storage-daemon, Paolo Bonzini, 2020/08/10
- [PATCH 074/147] meson: convert qemu-storage-daemon, Paolo Bonzini, 2020/08/10
- [PATCH 075/147] meson: convert replay directory to Meson, Paolo Bonzini, 2020/08/10
- [PATCH 076/147] meson: convert migration directory to Meson, Paolo Bonzini, 2020/08/10
- [PATCH 077/147] meson: convert net directory to Meson, Paolo Bonzini, 2020/08/10