summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Larsen (billionai) <bruno.larsen@eldorado.org.br>2021-05-25 08:53:55 -0300
committerDavid Gibson <david@gibson.dropbear.id.au>2021-06-03 18:10:20 +1000
commitc274358279b80d7ff382a8f20f12add6ce49625f (patch)
tree6ec88d8d2e4971b757f7337e23cc8a85a00ad49b
parent8033fb3fbf1165569cfcdeac7fab257bb72740f5 (diff)
downloadqemu-c274358279b80d7ff382a8f20f12add6ce49625f.zip
target/ppc: updated meson.build to support disable-tcg
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> Message-Id: <20210525115355.8254-5-bruno.larsen@eldorado.org.br> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--target/ppc/meson.build7
1 files changed, 5 insertions, 2 deletions
diff --git a/target/ppc/meson.build b/target/ppc/meson.build
index 848e625302..a6a53a8d5c 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',