master
build 120 lines 6.3 KB
Raw
1 arm_common_ss = ss.source_set()
2 arm_common_ss.add(when: 'CONFIG_ARM_VIRT', if_true: files('virt.c'))
3 arm_common_ss.add(when: 'CONFIG_ACPI', if_true: files('virt-acpi-build.c'))
4 arm_common_ss.add(when: 'CONFIG_DIGIC', if_true: files('digic_boards.c'))
5 arm_common_ss.add(when: 'CONFIG_EMCRAFT_SF2', if_true: files('msf2-som.c'))
6 arm_common_ss.add(when: 'CONFIG_INTEGRATOR', if_true: files('integratorcp.c'))
7 arm_common_ss.add(when: 'CONFIG_MICROBIT', if_true: files('microbit.c'))
8 arm_common_ss.add(when: 'CONFIG_MPS3R', if_true: files('mps3r.c'))
9 arm_common_ss.add(when: 'CONFIG_NETDUINOPLUS2', if_true: files('netduinoplus2.c'))
10 arm_common_ss.add(when: 'CONFIG_OLIMEX_STM32_H405', if_true: files('olimex-stm32-h405.c'))
11 arm_common_ss.add(when: 'CONFIG_NPCM7XX', if_true: files('npcm7xx.c', 'npcm7xx_boards.c'))
12 arm_common_ss.add(when: 'CONFIG_NPCM8XX', if_true: files('npcm8xx.c', 'npcm8xx_boards.c'))
13 arm_common_ss.add(when: 'CONFIG_REALVIEW', if_true: files('realview.c'))
14 arm_common_ss.add(when: 'CONFIG_SBSA_REF', if_true: files('sbsa-ref.c'))
15 arm_common_ss.add(when: 'CONFIG_STELLARIS', if_true: files('stellaris.c'))
16 arm_common_ss.add(when: 'CONFIG_STM32VLDISCOVERY', if_true: files('stm32vldiscovery.c'))
17 arm_common_ss.add(when: 'CONFIG_ZYNQ', if_true: files('xilinx_zynq.c'))
18 arm_common_ss.add(when: 'CONFIG_SABRELITE', if_true: files('sabrelite.c'))
19
20 arm_common_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('armv7m.c'))
21 arm_common_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210.c'))
22 arm_common_ss.add(when: 'CONFIG_DIGIC', if_true: files('digic.c'))
23 arm_common_ss.add(when: 'CONFIG_OMAP', if_true: files('omap1.c'))
24 arm_common_ss.add(when: 'CONFIG_ALLWINNER_A10', if_true: files('allwinner-a10.c', 'cubieboard.c'))
25 arm_common_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3.c', 'orangepi.c'))
26 arm_common_ss.add(when: 'CONFIG_ALLWINNER_R40', if_true: files('allwinner-r40.c', 'bananapi_m2u.c'))
27 arm_common_ss.add(when: 'CONFIG_MAX78000_SOC', if_true: files('max78000_soc.c'))
28 arm_common_ss.add(when: 'CONFIG_RASPI', if_true: files(
29 'bcm2836.c',
30 'bcm2838.c',
31 'raspi.c',
32 'raspi4b.c'
33 ))
34 arm_common_ss.add(when: 'CONFIG_STM32F100_SOC', if_true: files('stm32f100_soc.c'))
35 arm_common_ss.add(when: 'CONFIG_STM32F205_SOC', if_true: files('stm32f205_soc.c'))
36 arm_common_ss.add(when: 'CONFIG_STM32F405_SOC', if_true: files('stm32f405_soc.c'))
37 arm_common_ss.add(when: 'CONFIG_B_L475E_IOT01A', if_true: files('b-l475e-iot01a.c'))
38 arm_common_ss.add(when: 'CONFIG_STM32L4X5_SOC', if_true: files('stm32l4x5_soc.c'))
39 arm_common_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zynqmp.c', 'xlnx-zcu102.c'))
40 arm_common_ss.add(when: 'CONFIG_XLNX_VERSAL', if_true: files('xlnx-versal.c', 'xlnx-versal-virt.c'))
41 arm_common_ss.add(when: 'CONFIG_FSL_IMX25', if_true: files('fsl-imx25.c', 'imx25_pdk.c'))
42 arm_common_ss.add(when: 'CONFIG_FSL_IMX31', if_true: files('fsl-imx31.c', 'kzm.c'))
43 arm_common_ss.add(when: 'CONFIG_FSL_IMX6', if_true: files('fsl-imx6.c'))
44 arm_common_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files(
45 'aspeed.c',
46 'aspeed_soc_common.c',
47 'aspeed_ast2400.c',
48 'aspeed_ast2400_palmetto.c',
49 'aspeed_ast2400_quanta-q71l.c',
50 'aspeed_ast2400_supermicrox11.c',
51 'aspeed_ast2500_evb.c',
52 'aspeed_ast2500_g220a.c',
53 'aspeed_ast2500_romulus.c',
54 'aspeed_ast2500_supermicro-x11spi.c',
55 'aspeed_ast2500_tiogapass.c',
56 'aspeed_ast2500_witherspoon.c',
57 'aspeed_ast2500_yosemitev2.c',
58 'aspeed_ast2600.c',
59 'aspeed_ast2600_anacapa.c',
60 'aspeed_ast2600_bletchley.c',
61 'aspeed_ast2600_catalina.c',
62 'aspeed_ast2600_evb.c',
63 'aspeed_ast2600_fby35.c',
64 'aspeed_ast2600_fuji.c',
65 'aspeed_ast2600_gb200nvl.c',
66 'aspeed_ast2600_rainier.c',
67 'aspeed_ast10x0.c',
68 'aspeed_ast10x0_evb.c',
69 'aspeed_ast1040.c',
70 'aspeed_ast1040_evb.c',
71 'aspeed_ast1700.c',
72 'aspeed_ast27x0.c',
73 'aspeed_ast27x0_evb.c',
74 'aspeed_ast27x0-fc.c',
75 'aspeed_ast27x0-ssp.c',
76 'aspeed_ast27x0-tsp.c',
77 'aspeed_coprocessor_common.c'))
78 arm_common_ss.add(when: 'CONFIG_MPS2', if_true: files('mps2.c'))
79 arm_common_ss.add(when: 'CONFIG_MPS2', if_true: files('mps2-tz.c'))
80 arm_common_ss.add(when: 'CONFIG_MSF2', if_true: files('msf2-soc.c'))
81 arm_common_ss.add(when: 'CONFIG_MUSCA', if_true: files('musca.c'))
82 arm_common_ss.add(when: 'CONFIG_ARMSSE', if_true: files('armsse.c'))
83 arm_common_ss.add(when: 'CONFIG_FSL_IMX7', if_true: files('fsl-imx7.c', 'mcimx7d-sabre.c'))
84 arm_common_ss.add(when: 'CONFIG_FSL_IMX8MP', if_true: files('fsl-imx8mp.c'))
85 arm_common_ss.add(when: 'CONFIG_FSL_IMX8MP_EVK', if_true: files('imx8mp-evk.c'))
86 arm_common_ss.add(when: 'CONFIG_FSL_IMX8MM', if_true: files('fsl-imx8mm.c'))
87 arm_common_ss.add(when: 'CONFIG_FSL_IMX8MM_EVK', if_true: files('imx8mm-evk.c'))
88 arm_common_ss.add(when: 'CONFIG_ARM_SMMUV3', if_true: files('smmuv3.c'))
89 arm_common_ss.add(when: 'CONFIG_ARM_SMMUV3_ACCEL', if_true: files('smmuv3-accel.c'))
90 stub_ss.add(files('smmuv3-accel-stubs.c'))
91 arm_common_ss.add(when: 'CONFIG_TEGRA241_CMDQV', if_true: files('tegra241-cmdqv.c'))
92 stub_ss.add(files('tegra241-cmdqv-stubs.c'))
93 arm_common_ss.add(when: 'CONFIG_FSL_IMX6UL', if_true: files('fsl-imx6ul.c', 'mcimx6ul-evk.c'))
94 arm_common_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_soc.c'))
95 arm_common_ss.add(when: 'CONFIG_XEN', if_true: files(
96 'xen-stubs.c',
97 'xen-pvh.c',
98 ))
99
100 arm_common_ss.add(when: 'CONFIG_ARM_SMMUV3', if_true: files('smmu-common.c'))
101 arm_common_ss.add(when: 'CONFIG_COLLIE', if_true: files('collie.c'))
102 arm_common_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4_boards.c'))
103 arm_common_ss.add(when: 'CONFIG_MAX78000FTHR', if_true: files('max78000fthr.c'))
104 arm_common_ss.add(when: 'CONFIG_NETDUINO2', if_true: files('netduino2.c'))
105 arm_common_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2835_peripherals.c'))
106 arm_common_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2838_peripherals.c'))
107 arm_common_ss.add(when: 'CONFIG_STRONGARM', if_true: files('strongarm.c'))
108 arm_common_ss.add(when: 'CONFIG_SX1', if_true: files('omap_sx1.c'))
109 arm_common_ss.add(when: 'CONFIG_VERSATILE', if_true: files('versatilepb.c'))
110 arm_common_ss.add(when: 'CONFIG_VEXPRESS', if_true: files('vexpress.c'))
111
112 arm_common_ss.add(when: ['CONFIG_AXIADO_SOC', 'TARGET_AARCH64'], if_true: files(
113 'ax3000-soc.c'))
114 arm_common_ss.add(when: ['CONFIG_AXIADO_EVK', 'TARGET_AARCH64'], if_true: files(
115 'ax3000-boards.c',
116 'ax3000-evk.c'))
117
118 arm_common_ss.add(files('boot.c'))
119
120 hw_common_arch += {'arm': arm_common_ss}