]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
accel/tcg: Build tcg-runtime.c once
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Mar 2025 18:31:49 +0000 (10:31 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 8 Mar 2025 18:06:31 +0000 (10:06 -0800)
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/meson.build
accel/tcg/tcg-runtime.c

index 81fb25da5cca6aaaa74daf660870858882e831ef..411fe28deac9a30ed06647f5df030eeb47a6b9bc 100644 (file)
@@ -1,5 +1,6 @@
 common_ss.add(when: 'CONFIG_TCG', if_true: files(
   'cpu-exec-common.c',
+  'tcg-runtime.c',
 ))
 tcg_specific_ss = ss.source_set()
 tcg_specific_ss.add(files(
@@ -7,7 +8,6 @@ tcg_specific_ss.add(files(
   'cpu-exec.c',
   'tb-maint.c',
   'tcg-runtime-gvec.c',
-  'tcg-runtime.c',
   'translate-all.c',
   'translator.c',
 ))
index 9fa539ad3d779ae6d9ea1834afdb4fb9f1195af2..fa7ed9739c7b7c1ba38a5255b13dde34998f350d 100644 (file)
  */
 #include "qemu/osdep.h"
 #include "qemu/host-utils.h"
-#include "cpu.h"
+#include "exec/cpu-common.h"
 #include "exec/helper-proto-common.h"
-#include "exec/cpu_ldst.h"
-#include "exec/exec-all.h"
-#include "disas/disas.h"
-#include "exec/log.h"
-#include "tcg/tcg.h"
+#include "accel/tcg/getpc.h"
 
 #define HELPER_H  "accel/tcg/tcg-runtime.h"
 #include "exec/helper-info.c.inc"