1 arm_ss = ss.source_set()
2 arm_ss.add(files('boot.c'))
3 arm_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('sysbus-fdt.c'))
4 arm_ss.add(when: 'CONFIG_ARM_VIRT', if_true: files('virt.c'))
5 arm_ss.add(when: 'CONFIG_ACPI', if_true: files('virt-acpi-build.c'))
6 arm_ss.add(when: 'CONFIG_DIGIC', if_true: files('digic_boards.c'))
7 arm_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4_boards.c'))
8 arm_ss.add(when: 'CONFIG_EMCRAFT_SF2', if_true: files('msf2-som.c'))
9 arm_ss.add(when: 'CONFIG_HIGHBANK', if_true: files('highbank.c'))
10 arm_ss.add(when: 'CONFIG_INTEGRATOR', if_true: files('integratorcp.c'))
11 arm_ss.add(when: 'CONFIG_MAINSTONE', if_true: files('mainstone.c'))
12 arm_ss.add(when: 'CONFIG_MICROBIT', if_true: files('microbit.c'))
13 arm_ss.add(when: 'CONFIG_MUSICPAL', if_true: files('musicpal.c'))
14 arm_ss.add(when: 'CONFIG_NETDUINO2', if_true: files('netduino2.c'))
15 arm_ss.add(when: 'CONFIG_NETDUINOPLUS2', if_true: files('netduinoplus2.c'))
16 arm_ss.add(when: 'CONFIG_NSERIES', if_true: files('nseries.c'))
17 arm_ss.add(when: 'CONFIG_SX1', if_true: files('omap_sx1.c'))
18 arm_ss.add(when: 'CONFIG_CHEETAH', if_true: files('palm.c'))
19 arm_ss.add(when: 'CONFIG_GUMSTIX', if_true: files('gumstix.c'))
20 arm_ss.add(when: 'CONFIG_SPITZ', if_true: files('spitz.c'))
21 arm_ss.add(when: 'CONFIG_TOSA', if_true: files('tosa.c'))
22 arm_ss.add(when: 'CONFIG_Z2', if_true: files('z2.c'))
23 arm_ss.add(when: 'CONFIG_REALVIEW', if_true: files('realview.c'))
24 arm_ss.add(when: 'CONFIG_SBSA_REF', if_true: files('sbsa-ref.c'))
25 arm_ss.add(when: 'CONFIG_STELLARIS', if_true: files('stellaris.c'))
26 arm_ss.add(when: 'CONFIG_COLLIE', if_true: files('collie.c'))
27 arm_ss.add(when: 'CONFIG_VERSATILE', if_true: files('versatilepb.c'))
28 arm_ss.add(when: 'CONFIG_VEXPRESS', if_true: files('vexpress.c'))
29 arm_ss.add(when: 'CONFIG_ZYNQ', if_true: files('xilinx_zynq.c'))
30 arm_ss.add(when: 'CONFIG_SABRELITE', if_true: files('sabrelite.c'))
32 arm_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('armv7m.c'))
33 arm_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210.c'))
34 arm_ss.add(when: 'CONFIG_PXA2XX', if_true: files('pxa2xx.c', 'pxa2xx_gpio.c', 'pxa2xx_pic.c'))
35 arm_ss.add(when: 'CONFIG_DIGIC', if_true: files('digic.c'))
36 arm_ss.add(when: 'CONFIG_OMAP', if_true: files('omap1.c', 'omap2.c'))
37 arm_ss.add(when: 'CONFIG_STRONGARM', if_true: files('strongarm.c'))
38 arm_ss.add(when: 'CONFIG_ALLWINNER_A10', if_true: files('allwinner-a10.c', 'cubieboard.c'))
39 arm_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3.c', 'orangepi.c'))
40 arm_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2835_peripherals.c', 'bcm2836.c', 'raspi.c'))
41 arm_ss.add(when: 'CONFIG_STM32F205_SOC', if_true: files('stm32f205_soc.c'))
42 arm_ss.add(when: 'CONFIG_STM32F405_SOC', if_true: files('stm32f405_soc.c'))
43 arm_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zynqmp.c', 'xlnx-zcu102.c'))
44 arm_ss.add(when: 'CONFIG_XLNX_VERSAL', if_true: files('xlnx-versal.c', 'xlnx-versal-virt.c'))
45 arm_ss.add(when: 'CONFIG_FSL_IMX25', if_true: files('fsl-imx25.c', 'imx25_pdk.c'))
46 arm_ss.add(when: 'CONFIG_FSL_IMX31', if_true: files('fsl-imx31.c', 'kzm.c'))
47 arm_ss.add(when: 'CONFIG_FSL_IMX6', if_true: files('fsl-imx6.c'))
48 arm_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files('aspeed_soc.c', 'aspeed.c', 'aspeed_ast2600.c'))
49 arm_ss.add(when: 'CONFIG_MPS2', if_true: files('mps2.c'))
50 arm_ss.add(when: 'CONFIG_MPS2', if_true: files('mps2-tz.c'))
51 arm_ss.add(when: 'CONFIG_MSF2', if_true: files('msf2-soc.c'))
52 arm_ss.add(when: 'CONFIG_MUSCA', if_true: files('musca.c'))
53 arm_ss.add(when: 'CONFIG_ARMSSE', if_true: files('armsse.c'))
54 arm_ss.add(when: 'CONFIG_FSL_IMX7', if_true: files('fsl-imx7.c', 'mcimx7d-sabre.c'))
55 arm_ss.add(when: 'CONFIG_ARM_SMMUV3', if_true: files('smmu-common.c', 'smmuv3.c'))
56 arm_ss.add(when: 'CONFIG_FSL_IMX6UL', if_true: files('fsl-imx6ul.c', 'mcimx6ul-evk.c'))
57 arm_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_soc.c'))
59 hw_arch += {'arm': arm_ss}