]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
accel/mshv: Build without target-specific knowledge
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 25 Feb 2026 05:01:45 +0000 (06:01 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 10 Mar 2026 10:36:21 +0000 (11:36 +0100)
Code in accel/ aims to be target-agnostic. Enforce that
by moving the MSHV file units to system_ss[], which is
target-agnostic.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20260225051303.91614-4-philmd@linaro.org>

accel/mshv/meson.build

index d3a2b3258112254a66801488f1577086b2f8c242..c1b1787c5e62964f69d25dacaf32d8ccf287b610 100644 (file)
@@ -1,9 +1,6 @@
-mshv_ss = ss.source_set()
-mshv_ss.add(if_true: files(
+system_ss.add(when: 'CONFIG_MSHV', if_true: files(
   'irq.c',
   'mem.c',
   'msr.c',
   'mshv-all.c'
 ))
-
-specific_ss.add_all(when: 'CONFIG_MSHV', if_true: mshv_ss)