From: Philippe Mathieu-Daudé Date: Thu, 3 Apr 2025 23:02:00 +0000 (+0200) Subject: hw/arm/virt: Build only once X-Git-Tag: v10.2.0-rc1~35^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ec0236f6384f89e0f356dd4db19284bbb8a73d8;p=thirdparty%2Fqemu.git hw/arm/virt: Build only once Previous commits removed the TARGET_AARCH64 uses in virt.c, we can now move it to arm_common_ss[] and build it once. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Acked-by: Peter Maydell Message-Id: <20251021210934.60483-1-philmd@linaro.org> --- diff --git a/hw/arm/meson.build b/hw/arm/meson.build index df4c1be3b3..9fbbbc9a6f 100644 --- a/hw/arm/meson.build +++ b/hw/arm/meson.build @@ -1,6 +1,6 @@ arm_ss = ss.source_set() arm_common_ss = ss.source_set() -arm_ss.add(when: 'CONFIG_ARM_VIRT', if_true: files('virt.c')) +arm_common_ss.add(when: 'CONFIG_ARM_VIRT', if_true: files('virt.c')) arm_common_ss.add(when: 'CONFIG_ACPI', if_true: files('virt-acpi-build.c')) arm_common_ss.add(when: 'CONFIG_DIGIC', if_true: files('digic_boards.c')) arm_common_ss.add(when: 'CONFIG_EMCRAFT_SF2', if_true: files('msf2-som.c'))