[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL v8 074/152] meson: convert most of softmmu/
From: |
Paolo Bonzini |
Subject: |
[PULL v8 074/152] meson: convert most of softmmu/ |
Date: |
Fri, 21 Aug 2020 06:22:11 -0400 |
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 ff200900ed..442855daef 100644
--- a/meson.build
+++ b/meson.build
@@ -645,6 +645,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 c036887500..ec74d8a9fa 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 := $(SDL_CFLAGS)
+main.o-cflags := $(SDL_CFLAGS)
diff --git a/softmmu/meson.build b/softmmu/meson.build
new file mode 100644
index 0000000000..95d38df259
--- /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'))
--
2.26.2
- [PULL v8 056/152] meson: convert check-qapi-schema, (continued)
- [PULL v8 056/152] meson: convert check-qapi-schema, Paolo Bonzini, 2020/08/21
- [PULL v8 052/152] meson: generate hxtool files, Paolo Bonzini, 2020/08/21
- [PULL v8 063/152] meson: add modules infrastructure, Paolo Bonzini, 2020/08/21
- [PULL v8 059/152] meson: convert crypto directory to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 064/152] meson: convert chardev directory to Meson (tools part), Paolo Bonzini, 2020/08/21
- [PULL v8 053/152] meson: handle edk2 bios and descriptors, Paolo Bonzini, 2020/08/21
- [PULL v8 067/152] meson: qemu-pr-helper, Paolo Bonzini, 2020/08/21
- [PULL v8 060/152] meson: convert io directory to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 055/152] meson: convert tests/fp and check-softfloat, Paolo Bonzini, 2020/08/21
- [PULL v8 073/152] meson: convert root directory to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 074/152] meson: convert most of softmmu/,
Paolo Bonzini <=
- [PULL v8 075/152] meson: convert trace/, Paolo Bonzini, 2020/08/21
- [PULL v8 065/152] meson: convert block, Paolo Bonzini, 2020/08/21
- [PULL v8 058/152] meson: convert authz directory to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 068/152] configure, Makefile; remove TOOLS and HELPERS-y variable, Paolo Bonzini, 2020/08/21
- [PULL v8 062/152] meson: infrastructure for building emulators, Paolo Bonzini, 2020/08/21
- [PULL v8 066/152] meson: qemu-{img,io,nbd}, Paolo Bonzini, 2020/08/21
- [PULL v8 069/152] meson: convert chardev directory to Meson (emulator part), Paolo Bonzini, 2020/08/21
- [PULL v8 076/152] meson: convert dump/, Paolo Bonzini, 2020/08/21
- [PULL v8 071/152] meson: convert audio directory to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 078/152] meson: convert qemu-storage-daemon, Paolo Bonzini, 2020/08/21