[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/11] target/ppc: updated meson.build to support disable-tcg
From: |
Bruno Larsen (billionai) |
Subject: |
[PATCH 11/11] target/ppc: updated meson.build to support disable-tcg |
Date: |
Wed, 12 May 2021 11:08:13 -0300 |
updated build file to not compile some sources that are unnecessary if
TCG is disabled on the system.
Signed-off-by: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
---
target/ppc/meson.build | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/target/ppc/meson.build b/target/ppc/meson.build
index d1aa7d5d39..d9e599b00f 100644
--- a/target/ppc/meson.build
+++ b/target/ppc/meson.build
@@ -3,11 +3,14 @@ ppc_ss.add(files(
'cpu-models.c',
'cpu.c',
'cpu_init.c',
- 'dfp_helper.c',
'excp_helper.c',
- 'fpu_helper.c',
'gdbstub.c',
'helper_regs.c',
+))
+
+ppc_ss.add(when: 'CONFIG_TCG', if_true: files(
+ 'dfp_helper.c',
+ 'fpu_helper.c',
'int_helper.c',
'mem_helper.c',
'misc_helper.c',
@@ -25,9 +28,14 @@ ppc_softmmu_ss.add(files(
'arch_dump.c',
'machine.c',
'mmu-hash32.c',
- 'mmu_helper.c',
'monitor.c',
))
+
+ppc_softmmu_ss.add(when: 'CONFIG_TCG', if_true: files(
+ 'mmu_helper.c',
+), if_false: files(
+ 'tcg-stub.c',
+))
ppc_softmmu_ss.add(when: 'TARGET_PPC64', if_true: files(
'compat.c',
'mmu-book3s-v3.c',
--
2.17.1
- Re: [PATCH 09/11] include/exec: added functions to the stubs in exec-all.h, (continued)
[RFC PATCH 10/11] target/ppc: created tcg-stub.c file, Bruno Larsen (billionai), 2021/05/12
[PATCH 11/11] target/ppc: updated meson.build to support disable-tcg,
Bruno Larsen (billionai) <=