]> xenbits.xensource.com Git - people/aperard/qemu-dm.git/commitdiff
accel/tcg: Build tcg-accel-ops-mttcg.c once
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Mar 2025 16:52:20 +0000 (08:52 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 8 Mar 2025 15:56:43 +0000 (07:56 -0800)
All that is required is to avoid including exec-all.h.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/meson.build
accel/tcg/tcg-accel-ops-mttcg.c

index 87c1394b626aa4d05a5349292f94bb9ecd511dfc..81fb25da5cca6aaaa74daf660870858882e831ef 100644 (file)
@@ -20,7 +20,6 @@ specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_specific_ss)
 
 specific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files(
   'cputlb.c',
-  'tcg-accel-ops-mttcg.c',
 ))
 
 system_ss.add(when: ['CONFIG_TCG'], if_true: files(
@@ -28,6 +27,7 @@ system_ss.add(when: ['CONFIG_TCG'], if_true: files(
   'monitor.c',
   'tcg-accel-ops.c',
   'tcg-accel-ops-icount.c',
+  'tcg-accel-ops-mttcg.c',
   'tcg-accel-ops-rr.c',
   'watchpoint.c',
 ))
index ba7cf6819d66c5ae2a7194df150b7b22c58071da..bdcc385ae971d3d7098ac3f2cdc5a52e1bf4b776 100644 (file)
@@ -30,7 +30,6 @@
 #include "qemu/main-loop.h"
 #include "qemu/notify.h"
 #include "qemu/guest-random.h"
-#include "exec/exec-all.h"
 #include "hw/boards.h"
 #include "tcg/startup.h"
 #include "tcg-accel-ops.h"