aboutsummaryrefslogtreecommitdiff
path: root/target/mips/meson.build
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-11-09 09:41:24 +0100
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-12-13 19:58:54 +0100
commit55671f80cbb011343cf5786186daed600fcfab4f (patch)
treeed7c99da373f79802fad301fb5db724a9451bbdd /target/mips/meson.build
parent547b9b17f9cbe7bc16db73f4aaceeead54c03f29 (diff)
downloadqemu-55671f80cbb011343cf5786186daed600fcfab4f.zip
qemu-55671f80cbb011343cf5786186daed600fcfab4f.tar.gz
qemu-55671f80cbb011343cf5786186daed600fcfab4f.tar.bz2
target/mips: Do not include CP0 helpers in user-mode emulation
CP0 helpers are restricted to system-mode emulation. Do not intent do build cp0_helper.c in user-mode (this allows to simplify some #ifdef'ry). Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Huacai Chen <chenhc@lemote.com> Message-Id: <20201109090422.2445166-3-f4bug@amsat.org>
Diffstat (limited to 'target/mips/meson.build')
-rw-r--r--target/mips/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/mips/meson.build b/target/mips/meson.build
index fa1f024..681a552 100644
--- a/target/mips/meson.build
+++ b/target/mips/meson.build
@@ -1,6 +1,5 @@
mips_ss = ss.source_set()
mips_ss.add(files(
- 'cp0_helper.c',
'cpu.c',
'dsp_helper.c',
'fpu_helper.c',
@@ -15,6 +14,7 @@ mips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
mips_softmmu_ss = ss.source_set()
mips_softmmu_ss.add(files(
+ 'cp0_helper.c',
'cp0_timer.c',
'machine.c',
'mips-semi.c',