[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 01/26] meson: Split out tcg/meson.build
From: |
Richard Henderson |
Subject: |
[PATCH 01/26] meson: Split out tcg/meson.build |
Date: |
Wed, 10 Mar 2021 18:21:31 -0600 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
meson.build | 9 ++-------
tcg/meson.build | 13 +++++++++++++
2 files changed, 15 insertions(+), 7 deletions(-)
create mode 100644 tcg/meson.build
diff --git a/meson.build b/meson.build
index adeec153d9..8bc472ddeb 100644
--- a/meson.build
+++ b/meson.build
@@ -1936,14 +1936,8 @@ specific_ss.add(files('cpu.c', 'disas.c', 'gdbstub.c'),
capstone)
specific_ss.add(files('exec-vary.c'))
specific_ss.add(when: 'CONFIG_TCG', if_true: files(
'fpu/softfloat.c',
- 'tcg/optimize.c',
- 'tcg/tcg-common.c',
- 'tcg/tcg-op-gvec.c',
- 'tcg/tcg-op-vec.c',
- 'tcg/tcg-op.c',
- 'tcg/tcg.c',
))
-specific_ss.add(when: 'CONFIG_TCG_INTERPRETER', if_true: files('disas/tci.c',
'tcg/tci.c'))
+specific_ss.add(when: 'CONFIG_TCG_INTERPRETER', if_true: files('disas/tci.c'))
subdir('backends')
subdir('disas')
@@ -1952,6 +1946,7 @@ subdir('monitor')
subdir('net')
subdir('replay')
subdir('hw')
+subdir('tcg')
subdir('accel')
subdir('plugins')
subdir('bsd-user')
diff --git a/tcg/meson.build b/tcg/meson.build
new file mode 100644
index 0000000000..84064a341e
--- /dev/null
+++ b/tcg/meson.build
@@ -0,0 +1,13 @@
+tcg_ss = ss.source_set()
+
+tcg_ss.add(files(
+ 'optimize.c',
+ 'tcg.c',
+ 'tcg-common.c',
+ 'tcg-op.c',
+ 'tcg-op-gvec.c',
+ 'tcg-op-vec.c',
+))
+tcg_ss.add(when: 'CONFIG_TCG_INTERPRETER', if_true: files('tci.c'))
+
+specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_ss)
--
2.25.1
- [PATCH 00/26] tcg: Workaround macOS 11.2 mprotect bug, Richard Henderson, 2021/03/10
- [PATCH 03/26] meson: Split out fpu/meson.build, Richard Henderson, 2021/03/10
- [PATCH 05/26] tcg: Remove error return from tcg_region_initial_alloc__locked, Richard Henderson, 2021/03/10
- [PATCH 04/26] tcg: Re-order tcg_region_init vs tcg_prologue_init, Richard Henderson, 2021/03/10
- [PATCH 02/26] meson: Move disas/tci.c to disas/meson.build, Richard Henderson, 2021/03/10
- [PATCH 01/26] meson: Split out tcg/meson.build,
Richard Henderson <=
- [PATCH 06/26] tcg: Split out tcg_region_initial_alloc, Richard Henderson, 2021/03/10
- [PATCH 07/26] tcg: Split out tcg_region_prologue_set, Richard Henderson, 2021/03/10
- [PATCH 09/26] accel/tcg: Inline cpu_gen_init, Richard Henderson, 2021/03/10
- [PATCH 08/26] tcg: Split out region.c, Richard Henderson, 2021/03/10
- [PATCH 11/26] accel/tcg: Rename tcg_init to tcg_init_machine, Richard Henderson, 2021/03/10
- [PATCH 12/26] tcg: Create tcg_init, Richard Henderson, 2021/03/10