]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/arm: Build TCG stubs as stub library
authorPhilippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Mon, 27 Jul 2026 09:28:46 +0000 (10:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 28 Jul 2026 10:36:40 +0000 (11:36 +0100)
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>
target/arm/meson.build

index f6ae8934d1be40656c68a530f80328ee7c13b3ea..0369f96b4cc6b6d9b7368388df47feb6ca2122d5 100644 (file)
@@ -38,7 +38,8 @@ arm_user_ss.add(files('cpu.c'))
 arm_stubs_ss.add(files(
   'cpu32-stubs.c',
   'gicv5-stubs.c',
-  'kvm-stub.c'
+  'kvm-stub.c',
+  'tcg-stubs.c',
 ))
 arm_user_ss.add(files(
   'el2-stubs.c',
@@ -65,8 +66,6 @@ subdir('whpx')
 
 if 'CONFIG_TCG' in config_all_accel
    subdir('tcg')
-else
-    arm_common_system_ss.add(files('tcg-stubs.c'))
 endif
 
 arm_user_ss.add_all(arm_common_user_system_ss)