hw/arm/aspeed: Build objects once
Commit 064f1ce95fe ("hw/arm/aspeed: Split AST2700 EVB machine into a separate source file for maintainability") remove the last TARGET_AARCH64 use. Now than Aspeed machines can be filtered when running a qemu-system-arm or qemu-system-aarch64 binary, we can compile the aspeed.c file once, moving it from arm_ss[] source set to arm_common_ss[]. 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> Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Reviewed-by: Cédric Le Goater <clg@redhat.com> Acked-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20260526203722.79463-5-philmd@linaro.org>
Philippe Mathieu-Daudé committed
Apr 2, 2025 at 05:34 UTC
65814928f8ce8fee608a680940387b08d58868af
1 file changed
+2
-3
hw/arm/meson.build
+2
-3
@@ -43,7 +43,7 @@ arm_common_ss.add(when: 'CONFIG_XLNX_VERSAL', if_true: files('xlnx-versal.c', 'x
43
arm_common_ss.add(when: 'CONFIG_FSL_IMX25', if_true: files('fsl-imx25.c', 'imx25_pdk.c'))
44
arm_common_ss.add(when: 'CONFIG_FSL_IMX31', if_true: files('fsl-imx31.c', 'kzm.c'))
45
arm_common_ss.add(when: 'CONFIG_FSL_IMX6', if_true: files('fsl-imx6.c'))
46
-arm_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files(
46
+arm_common_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files(
47
'aspeed.c',
48
'aspeed_soc_common.c',
49
'aspeed_ast2400.c',
@@ -69,8 +69,7 @@ arm_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files(
69
'aspeed_ast10x0.c',
70
'aspeed_ast10x0_evb.c',
71
'aspeed_ast1040.c',
72
- 'aspeed_ast1040_evb.c'))
73
-arm_common_ss.add(when: ['CONFIG_ASPEED_SOC', 'TARGET_AARCH64'], if_true: files(
72
+ 'aspeed_ast1040_evb.c',
73
'aspeed_ast1700.c',
74
'aspeed_ast27x0.c',
75
'aspeed_ast27x0_evb.c',