accel/hvf: Build without target-specific knowledge

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>
This commit is contained in:
Philippe Mathieu-Daudé
2026-02-25 06:01:38 +01:00
parent 35f797739b
commit 593063e4cb

View 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)