target/mips/meson: Restrict mips-semi.c to TCG
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 16 Jan 2021 12:46:09 +0000 (13:46 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 13 Mar 2021 22:42:43 +0000 (23:42 +0100)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210226093111.3865906-3-f4bug@amsat.org>

target/mips/meson.build

index 75c16524606f7fc8af7f563b491ddc2e56a48e14..53580633ce0531e50e57e6251cae2954110879df 100644 (file)
@@ -31,10 +31,10 @@ mips_softmmu_ss.add(files(
   'addr.c',
   'cp0_timer.c',
   'machine.c',
-  'mips-semi.c',
 ))
 mips_softmmu_ss.add(when: 'CONFIG_TCG', if_true: files(
   'cp0_helper.c',
+  'mips-semi.c',
 ))
 
 mips_ss.add_all(when: 'CONFIG_TCG', if_true: [mips_tcg_ss])