12c44220dSMarc-André Lureauarm_ss = ss.source_set() 2727bb5b4SPaolo Bonziniarm_ss.add(files('boot.c')) 32c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_ARM_VIRT', if_true: files('virt.c')) 42c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_ACPI', if_true: files('virt-acpi-build.c')) 52c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_DIGIC', if_true: files('digic_boards.c')) 62c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_EMCRAFT_SF2', if_true: files('msf2-som.c')) 72c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_HIGHBANK', if_true: files('highbank.c')) 82c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_INTEGRATOR', if_true: files('integratorcp.c')) 92c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_MICROBIT', if_true: files('microbit.c')) 10273a70aeSPeter Maydellarm_ss.add(when: 'CONFIG_MPS3R', if_true: files('mps3r.c')) 112c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_MUSICPAL', if_true: files('musicpal.c')) 122c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_NETDUINOPLUS2', if_true: files('netduinoplus2.c')) 13ee5bffa9SFelipe Balbiarm_ss.add(when: 'CONFIG_OLIMEX_STM32_H405', if_true: files('olimex-stm32-h405.c')) 14b773acf4SHavard Skinnemoenarm_ss.add(when: 'CONFIG_NPCM7XX', if_true: files('npcm7xx.c', 'npcm7xx_boards.c')) 152c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_REALVIEW', if_true: files('realview.c')) 162c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_SBSA_REF', if_true: files('sbsa-ref.c')) 172c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_STELLARIS', if_true: files('stellaris.c')) 182ac2410cSAlexandre Ioossarm_ss.add(when: 'CONFIG_STM32VLDISCOVERY', if_true: files('stm32vldiscovery.c')) 192c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_ZYNQ', if_true: files('xilinx_zynq.c')) 202c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_SABRELITE', if_true: files('sabrelite.c')) 212c44220dSMarc-André Lureau 222c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('armv7m.c')) 232c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210.c')) 242c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_DIGIC', if_true: files('digic.c')) 259404dcdeSPhilippe Mathieu-Daudéarm_ss.add(when: 'CONFIG_OMAP', if_true: files('omap1.c')) 262c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_ALLWINNER_A10', if_true: files('allwinner-a10.c', 'cubieboard.c')) 272c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3.c', 'orangepi.c')) 288d9006aeSqianfan Zhaoarm_ss.add(when: 'CONFIG_ALLWINNER_R40', if_true: files('allwinner-r40.c', 'bananapi_m2u.c')) 29fbdefc85SPhilippe Mathieu-Daudéarm_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2836.c', 'raspi.c')) 307785e8eaSSergey Kambalinarm_ss.add(when: ['CONFIG_RASPI', 'TARGET_AARCH64'], if_true: files('bcm2838.c', 'raspi4b.c')) 310f76debdSAlexandre Ioossarm_ss.add(when: 'CONFIG_STM32F100_SOC', if_true: files('stm32f100_soc.c')) 322c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_STM32F205_SOC', if_true: files('stm32f205_soc.c')) 332c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_STM32F405_SOC', if_true: files('stm32f405_soc.c')) 3441581f13SInès Varholarm_ss.add(when: 'CONFIG_B_L475E_IOT01A', if_true: files('b-l475e-iot01a.c')) 3504a7c7b1SInès Varholarm_ss.add(when: 'CONFIG_STM32L4X5_SOC', if_true: files('stm32l4x5_soc.c')) 362c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zynqmp.c', 'xlnx-zcu102.c')) 372c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_XLNX_VERSAL', if_true: files('xlnx-versal.c', 'xlnx-versal-virt.c')) 382c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_FSL_IMX25', if_true: files('fsl-imx25.c', 'imx25_pdk.c')) 392c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_FSL_IMX31', if_true: files('fsl-imx31.c', 'kzm.c')) 402c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_FSL_IMX6', if_true: files('fsl-imx6.c')) 41356b230eSSteven Leearm_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files( 42356b230eSSteven Lee 'aspeed.c', 432f4ec776SPhilippe Mathieu-Daudé 'aspeed_soc_common.c', 44dd41ce7aSPhilippe Mathieu-Daudé 'aspeed_ast2400.c', 45356b230eSSteven Lee 'aspeed_ast2600.c', 46c2f58c2fSPeter Delevoryas 'aspeed_ast10x0.c', 47c0216b94SPeter Delevoryas 'aspeed_eeprom.c', 48c2f58c2fSPeter Delevoryas 'fby35.c')) 495dd883abSJamin Linarm_ss.add(when: ['CONFIG_ASPEED_SOC', 'TARGET_AARCH64'], if_true: files('aspeed_ast27x0.c')) 502c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_MPS2', if_true: files('mps2.c')) 512c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_MPS2', if_true: files('mps2-tz.c')) 522c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_MSF2', if_true: files('msf2-soc.c')) 532c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_MUSCA', if_true: files('musca.c')) 542c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_ARMSSE', if_true: files('armsse.c')) 552c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_FSL_IMX7', if_true: files('fsl-imx7.c', 'mcimx7d-sabre.c')) 56fbdefc85SPhilippe Mathieu-Daudéarm_ss.add(when: 'CONFIG_ARM_SMMUV3', if_true: files('smmuv3.c')) 572c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_FSL_IMX6UL', if_true: files('fsl-imx6ul.c', 'mcimx6ul-evk.c')) 582c44220dSMarc-André Lureauarm_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_soc.c')) 59a9fbd527SEdgar E. Iglesiasarm_ss.add(when: 'CONFIG_XEN', if_true: files( 60a9fbd527SEdgar E. Iglesias 'xen-stubs.c', 61*0e14c9ebSEdgar E. Iglesias 'xen-pvh.c', 62a9fbd527SEdgar E. Iglesias)) 632c44220dSMarc-André Lureau 64de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ARM_SMMUV3', if_true: files('smmu-common.c')) 659404dcdeSPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_COLLIE', if_true: files('collie.c')) 66de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4_boards.c')) 679404dcdeSPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_NETDUINO2', if_true: files('netduino2.c')) 68de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2835_peripherals.c')) 69dcf1d8cdSSergey Kambalinsystem_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2838_peripherals.c')) 709404dcdeSPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_STRONGARM', if_true: files('strongarm.c')) 719404dcdeSPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_SX1', if_true: files('omap_sx1.c')) 729404dcdeSPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_VERSATILE', if_true: files('versatilepb.c')) 739404dcdeSPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_VEXPRESS', if_true: files('vexpress.c')) 74fbdefc85SPhilippe Mathieu-Daudé 752c44220dSMarc-André Lureauhw_arch += {'arm': arm_ss} 76