[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 01/12] target/mips/meson: Introduce mips_tcg source set
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v4 01/12] target/mips/meson: Introduce mips_tcg source set |
Date: |
Wed, 24 Feb 2021 19:56:55 +0100 |
Introduce the 'mips_tcg' source set to collect TCG specific files.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
target/mips/meson.build | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/target/mips/meson.build b/target/mips/meson.build
index 9741545440c..75c16524606 100644
--- a/target/mips/meson.build
+++ b/target/mips/meson.build
@@ -6,12 +6,13 @@
]
mips_ss = ss.source_set()
-mips_ss.add(gen)
mips_ss.add(files(
'cpu.c',
'gdbstub.c',
))
-mips_ss.add(when: 'CONFIG_TCG', if_true: files(
+mips_tcg_ss = ss.source_set()
+mips_tcg_ss.add(gen)
+mips_tcg_ss.add(files(
'dsp_helper.c',
'fpu_helper.c',
'lmmi_helper.c',
@@ -36,5 +37,7 @@
'cp0_helper.c',
))
+mips_ss.add_all(when: 'CONFIG_TCG', if_true: [mips_tcg_ss])
+
target_arch += {'mips': mips_ss}
target_softmmu_arch += {'mips': mips_softmmu_ss}
--
2.26.2
- [PATCH v4 00/12] target/mips: Extract MXU code to new mxu_translate.c file, Philippe Mathieu-Daudé, 2021/02/24
- [PATCH v4 01/12] target/mips/meson: Introduce mips_tcg source set,
Philippe Mathieu-Daudé <=
- [PATCH v4 02/12] target/mips/meson: Restrict mips-semi.c to TCG, Philippe Mathieu-Daudé, 2021/02/24
- [PATCH v4 03/12] target/mips: Rewrite complex ifdef'ry, Philippe Mathieu-Daudé, 2021/02/24
- [PATCH v4 04/12] target/mips: Remove XBurst Media eXtension Unit dead code, Philippe Mathieu-Daudé, 2021/02/24
- [PATCH v4 05/12] target/mips: Remove unused CPUMIPSState* from MXU functions, Philippe Mathieu-Daudé, 2021/02/24
- [PATCH v4 06/12] target/mips: Pass instruction opcode to decode_opc_mxu(), Philippe Mathieu-Daudé, 2021/02/24
- [PATCH v4 07/12] target/mips: Use OPC_MUL instead of OPC__MXU_MUL, Philippe Mathieu-Daudé, 2021/02/24
- [PATCH v4 08/12] target/mips: Move MUL opcode check from decode_mxu() to decode_legacy(), Philippe Mathieu-Daudé, 2021/02/24