[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 068/143] meson: convert most of softmmu/
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH 068/143] meson: convert most of softmmu/ |
Date: |
Fri, 7 Aug 2020 16:18:59 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 |
On 07/08/20 15:36, Philippe Mathieu-Daudé wrote:
> There is still "obj-y += vl.o" in softmmu/Makefile.objs.
>
> Did you meant to squash this into the previous patch?
This is what I meant:
diff --git a/meson.build b/meson.build
index a7ad3248cc..ef6f811c51 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 a414a74c50..ebcfd15695 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 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'))
- [PATCH 060/143] meson: qemu-pr-helper, (continued)
- [PATCH 060/143] meson: qemu-pr-helper, Paolo Bonzini, 2020/08/06
- [PATCH 061/143] configure, Makefile; remove TOOLS and HELPERS-y variable, Paolo Bonzini, 2020/08/06
- [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, 2020/08/06
- [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