accel/tcg: Build tcg-accel-ops-icount.c once

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>
This commit is contained in:
Richard Henderson 2025-03-07 07:51:15 -08:00
parent ab6d72979a
commit 29172ec536
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,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( specific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files(
'cputlb.c', 'cputlb.c',
'tcg-accel-ops-mttcg.c', 'tcg-accel-ops-mttcg.c',
'tcg-accel-ops-icount.c',
'tcg-accel-ops-rr.c', 'tcg-accel-ops-rr.c',
)) ))
@ -29,5 +28,6 @@ system_ss.add(when: ['CONFIG_TCG'], if_true: files(
'icount-common.c', 'icount-common.c',
'monitor.c', 'monitor.c',
'tcg-accel-ops.c', 'tcg-accel-ops.c',
'tcg-accel-ops-icount.c',
'watchpoint.c', 'watchpoint.c',
)) ))

View File

@ -28,7 +28,7 @@
#include "system/cpu-timers.h" #include "system/cpu-timers.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "qemu/guest-random.h" #include "qemu/guest-random.h"
#include "exec/exec-all.h" #include "hw/core/cpu.h"
#include "tcg-accel-ops.h" #include "tcg-accel-ops.h"
#include "tcg-accel-ops-icount.h" #include "tcg-accel-ops-icount.h"