@samitouri / QOSamiQemu / commits / b2dbead3f9

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>

Philippe Mathieu-Daudé committed Apr 23, 2026 at 12:41 UTC b2dbead3f904ac63b2f1f3e373f5026e9df9421e
1 file changed +6 -4
target/s390x/tcg/meson.build
+6 -4
@@ -1,14 +1,16 @@
1 s390x_ss.add(when: 'CONFIG_TCG', if_true: files(
2 - 'cc_helper.c',
2 'crypto_helper.c',
4 - 'excp_helper.c',
5 - 'fpu_helper.c',
3 'int_helper.c',
4 'mem_helper.c',
5 'misc_helper.c',
6 'translate.c',
10 - 'vec_fpu_helper.c',
7 'vec_helper.c',
8 +))
9 +s390x_common_ss.add(when: 'CONFIG_TCG', if_true: files(
10 + 'cc_helper.c',
11 + 'excp_helper.c',
12 + 'fpu_helper.c',
13 + 'vec_fpu_helper.c',
14 'vec_int_helper.c',
15 'vec_string_helper.c',
16 ))