target/arm: Build TCG stubs as stub library
Use the stub library introduced in commit 0da978cdbc6 ("target/arm: define stub library") to prevent symbol conflicts. Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20260721122135.6288-5-philmd@oss.qualcomm.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Philippe Mathieu-Daudé committed
Jul 27, 2026 at 10:28 UTC
e5ab18130a151ecd2295772e976a3dcf0ba2a8a1
1 file changed
+2
-3
target/arm/meson.build
+2
-3
@@ -38,7 +38,8 @@ arm_user_ss.add(files('cpu.c'))
38
arm_stubs_ss.add(files(
39
'cpu32-stubs.c',
40
'gicv5-stubs.c',
41
- 'kvm-stub.c'
41
+ 'kvm-stub.c',
42
+ 'tcg-stubs.c',
43
))
44
arm_user_ss.add(files(
45
'el2-stubs.c',
@@ -65,8 +66,6 @@ subdir('whpx')
66
67
if 'CONFIG_TCG' in config_all_accel
68
subdir('tcg')
68
-else
69
- arm_common_system_ss.add(files('tcg-stubs.c'))
69
endif
70
71
arm_user_ss.add_all(arm_common_user_system_ss)