]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
accel/hvf: Build without target-specific knowledge
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 25 Feb 2026 05:01:38 +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 HVF 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-5-philmd@linaro.org>

accel/hvf/meson.build

index fc52cb78433a3169e8585405ebf79082f156346d..6e2dcc4a5f0cbb7ea40157185e57180353fdb42d 100644 (file)
@@ -1,7 +1,4 @@
-hvf_ss = ss.source_set()
-hvf_ss.add(files(
+system_ss.add(when: 'CONFIG_HVF', if_true: files(
   'hvf-all.c',
   'hvf-accel-ops.c',
 ))
-
-specific_ss.add_all(when: 'CONFIG_HVF', if_true: hvf_ss)