[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 19/19] target/mips: Only build TCG code when CONFIG_TCG is se
From: |
Philippe Mathieu-Daudé |
Subject: |
[RFC PATCH 19/19] target/mips: Only build TCG code when CONFIG_TCG is set |
Date: |
Mon, 7 Dec 2020 00:39:49 +0100 |
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
We are very close to build with '--enable-kvm --disable-tcg' :)
---
target/mips/meson.build | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/target/mips/meson.build b/target/mips/meson.build
index c685f03fb28..ef70d9040e2 100644
--- a/target/mips/meson.build
+++ b/target/mips/meson.build
@@ -1,11 +1,13 @@
mips_ss = ss.source_set()
mips_ss.add(files(
- 'common_helper.c',
- 'cp0_helper.c',
'cpu.c',
+ 'gdbstub.c',
+ 'common_helper.c',
+))
+mips_ss.add(when: 'CONFIG_TCG', if_true: files(
+ 'cp0_helper.c',
'dsp_helper.c',
'fpu_helper.c',
- 'gdbstub.c',
'lmmi_helper.c',
'msa_helper.c',
'op_helper.c',
--
2.26.2
- Re: [PATCH 16/19] target/mips: Inline cpu_mips_realize_env() in mips_cpu_realizefn(), (continued)
[RFC PATCH 19/19] target/mips: Only build TCG code when CONFIG_TCG is set,
Philippe Mathieu-Daudé <=
Re: [PATCH 00/19] target/mips: Boring code reordering, no-reply, 2020/12/06