accel/mshv: Build without target-specific knowledge
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>
Philippe Mathieu-Daudé committed
Feb 25, 2026 at 06:01 UTC
35f797739bf36bfc9122c5eef43696cc7aa4931e
1 file changed
+1
-4
accel/mshv/meson.build
+1
-4
@@ -1,9 +1,6 @@
1
-mshv_ss = ss.source_set()
2
-mshv_ss.add(if_true: files(
1
+system_ss.add(when: 'CONFIG_MSHV', if_true: files(
2
'irq.c',
3
'mem.c',
4
'msr.c',
5
'mshv-all.c'
6
))
8
-
9
-specific_ss.add_all(when: 'CONFIG_MSHV', if_true: mshv_ss)