Commit b2dbead3f9 for qemu.org
commit b2dbead3f904ac63b2f1f3e373f5026e9df9421e
Author: Philippe Mathieu-Daudé <philmd@linaro.org>
Date: Thu Apr 23 12:41:13 2026 +0200
target/s390x: Compile few files as common unit
Nothing in these files prevents it to be built as common unit:
- cc_helper.c
- excp_helper.c
- fpu_helper.c
- vec_fpu_helper.c
- vec_int_helper.c
- vec_string_helper.c
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20260423135035.50126-5-philmd@linaro.org>
diff --git a/target/s390x/tcg/meson.build b/target/s390x/tcg/meson.build
index 17c9374d09..67f31bfddd 100644
--- a/target/s390x/tcg/meson.build
+++ b/target/s390x/tcg/meson.build
@@ -1,14 +1,16 @@
s390x_ss.add(when: 'CONFIG_TCG', if_true: files(
- 'cc_helper.c',
'crypto_helper.c',
- 'excp_helper.c',
- 'fpu_helper.c',
'int_helper.c',
'mem_helper.c',
'misc_helper.c',
'translate.c',
- 'vec_fpu_helper.c',
'vec_helper.c',
+))
+s390x_common_ss.add(when: 'CONFIG_TCG', if_true: files(
+ 'cc_helper.c',
+ 'excp_helper.c',
+ 'fpu_helper.c',
+ 'vec_fpu_helper.c',
'vec_int_helper.c',
'vec_string_helper.c',
))