aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-04-13 21:20:53 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-05-02 16:49:34 +0200
commit58ecf15d76e6e232d908bf115236108a639daa71 (patch)
tree9107a2be33db0a9a194fe9ce48663d3d3d15acac
parent905bdf72a6373bcb46fbdc8b9d7d9f83d134a266 (diff)
downloadqemu-58ecf15d76e6e232d908bf115236108a639daa71.zip
qemu-58ecf15d76e6e232d908bf115236108a639daa71.tar.gz
qemu-58ecf15d76e6e232d908bf115236108a639daa71.tar.bz2
target/mips: Simplify meson TCG rules
We already have the mips_tcg_ss source set for TCG-specific files, use it for mxu_translate.c and tx79_translate.c to simplify a bit. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210428170410.479308-2-f4bug@amsat.org>
-rw-r--r--target/mips/meson.build5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/mips/meson.build b/target/mips/meson.build
index 3b131c4..3733d12 100644
--- a/target/mips/meson.build
+++ b/target/mips/meson.build
@@ -26,10 +26,9 @@ mips_tcg_ss.add(files(
'translate_addr_const.c',
'txx9_translate.c',
))
-mips_ss.add(when: ['CONFIG_TCG', 'TARGET_MIPS64'], if_true: files(
+mips_tcg_ss.add(when: 'TARGET_MIPS64', if_true: files(
'tx79_translate.c',
-))
-mips_tcg_ss.add(when: 'TARGET_MIPS64', if_false: files(
+), if_false: files(
'mxu_translate.c',
))