]> git.proxmox.com Git - mirror_qemu.git/blame - hw/arm/meson.build
hw/arm: Build various units only once
[mirror_qemu.git] / hw / arm / meson.build
CommitLineData
2c44220d 1arm_ss = ss.source_set()
feabc71d 2arm_ss.add(files('boot.c'), fdt)
2c44220d
MAL
3arm_ss.add(when: 'CONFIG_ARM_VIRT', if_true: files('virt.c'))
4arm_ss.add(when: 'CONFIG_ACPI', if_true: files('virt-acpi-build.c'))
5arm_ss.add(when: 'CONFIG_DIGIC', if_true: files('digic_boards.c'))
2c44220d
MAL
6arm_ss.add(when: 'CONFIG_EMCRAFT_SF2', if_true: files('msf2-som.c'))
7arm_ss.add(when: 'CONFIG_HIGHBANK', if_true: files('highbank.c'))
8arm_ss.add(when: 'CONFIG_INTEGRATOR', if_true: files('integratorcp.c'))
9arm_ss.add(when: 'CONFIG_MAINSTONE', if_true: files('mainstone.c'))
10arm_ss.add(when: 'CONFIG_MICROBIT', if_true: files('microbit.c'))
11arm_ss.add(when: 'CONFIG_MUSICPAL', if_true: files('musicpal.c'))
2c44220d 12arm_ss.add(when: 'CONFIG_NETDUINOPLUS2', if_true: files('netduinoplus2.c'))
ee5bffa9 13arm_ss.add(when: 'CONFIG_OLIMEX_STM32_H405', if_true: files('olimex-stm32-h405.c'))
b773acf4 14arm_ss.add(when: 'CONFIG_NPCM7XX', if_true: files('npcm7xx.c', 'npcm7xx_boards.c'))
2c44220d 15arm_ss.add(when: 'CONFIG_NSERIES', if_true: files('nseries.c'))
2c44220d
MAL
16arm_ss.add(when: 'CONFIG_REALVIEW', if_true: files('realview.c'))
17arm_ss.add(when: 'CONFIG_SBSA_REF', if_true: files('sbsa-ref.c'))
18arm_ss.add(when: 'CONFIG_STELLARIS', if_true: files('stellaris.c'))
2ac2410c 19arm_ss.add(when: 'CONFIG_STM32VLDISCOVERY', if_true: files('stm32vldiscovery.c'))
2c44220d
MAL
20arm_ss.add(when: 'CONFIG_ZYNQ', if_true: files('xilinx_zynq.c'))
21arm_ss.add(when: 'CONFIG_SABRELITE', if_true: files('sabrelite.c'))
22
23arm_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('armv7m.c'))
24arm_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210.c'))
25arm_ss.add(when: 'CONFIG_PXA2XX', if_true: files('pxa2xx.c', 'pxa2xx_gpio.c', 'pxa2xx_pic.c'))
26arm_ss.add(when: 'CONFIG_DIGIC', if_true: files('digic.c'))
9404dcde 27arm_ss.add(when: 'CONFIG_OMAP', if_true: files('omap1.c'))
2c44220d
MAL
28arm_ss.add(when: 'CONFIG_ALLWINNER_A10', if_true: files('allwinner-a10.c', 'cubieboard.c'))
29arm_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3.c', 'orangepi.c'))
8d9006ae 30arm_ss.add(when: 'CONFIG_ALLWINNER_R40', if_true: files('allwinner-r40.c', 'bananapi_m2u.c'))
fbdefc85 31arm_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2836.c', 'raspi.c'))
0f76debd 32arm_ss.add(when: 'CONFIG_STM32F100_SOC', if_true: files('stm32f100_soc.c'))
2c44220d
MAL
33arm_ss.add(when: 'CONFIG_STM32F205_SOC', if_true: files('stm32f205_soc.c'))
34arm_ss.add(when: 'CONFIG_STM32F405_SOC', if_true: files('stm32f405_soc.c'))
41581f13 35arm_ss.add(when: 'CONFIG_B_L475E_IOT01A', if_true: files('b-l475e-iot01a.c'))
04a7c7b1 36arm_ss.add(when: 'CONFIG_STM32L4X5_SOC', if_true: files('stm32l4x5_soc.c'))
2c44220d
MAL
37arm_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zynqmp.c', 'xlnx-zcu102.c'))
38arm_ss.add(when: 'CONFIG_XLNX_VERSAL', if_true: files('xlnx-versal.c', 'xlnx-versal-virt.c'))
39arm_ss.add(when: 'CONFIG_FSL_IMX25', if_true: files('fsl-imx25.c', 'imx25_pdk.c'))
40arm_ss.add(when: 'CONFIG_FSL_IMX31', if_true: files('fsl-imx31.c', 'kzm.c'))
41arm_ss.add(when: 'CONFIG_FSL_IMX6', if_true: files('fsl-imx6.c'))
356b230e 42arm_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files(
356b230e 43 'aspeed.c',
2f4ec776 44 'aspeed_soc_common.c',
dd41ce7a 45 'aspeed_ast2400.c',
356b230e 46 'aspeed_ast2600.c',
c2f58c2f 47 'aspeed_ast10x0.c',
c0216b94 48 'aspeed_eeprom.c',
c2f58c2f 49 'fby35.c'))
2c44220d
MAL
50arm_ss.add(when: 'CONFIG_MPS2', if_true: files('mps2.c'))
51arm_ss.add(when: 'CONFIG_MPS2', if_true: files('mps2-tz.c'))
52arm_ss.add(when: 'CONFIG_MSF2', if_true: files('msf2-soc.c'))
53arm_ss.add(when: 'CONFIG_MUSCA', if_true: files('musca.c'))
54arm_ss.add(when: 'CONFIG_ARMSSE', if_true: files('armsse.c'))
55arm_ss.add(when: 'CONFIG_FSL_IMX7', if_true: files('fsl-imx7.c', 'mcimx7d-sabre.c'))
fbdefc85 56arm_ss.add(when: 'CONFIG_ARM_SMMUV3', if_true: files('smmuv3.c'))
2c44220d
MAL
57arm_ss.add(when: 'CONFIG_FSL_IMX6UL', if_true: files('fsl-imx6ul.c', 'mcimx6ul-evk.c'))
58arm_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_soc.c'))
733766cd 59arm_ss.add(when: 'CONFIG_XEN', if_true: files('xen_arm.c'))
2c44220d 60
de6cd759 61system_ss.add(when: 'CONFIG_ARM_SMMUV3', if_true: files('smmu-common.c'))
9404dcde
PMD
62system_ss.add(when: 'CONFIG_CHEETAH', if_true: files('palm.c'))
63system_ss.add(when: 'CONFIG_COLLIE', if_true: files('collie.c'))
de6cd759 64system_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4_boards.c'))
9404dcde
PMD
65system_ss.add(when: 'CONFIG_GUMSTIX', if_true: files('gumstix.c'))
66system_ss.add(when: 'CONFIG_NETDUINO2', if_true: files('netduino2.c'))
67system_ss.add(when: 'CONFIG_OMAP', if_true: files('omap2.c'))
de6cd759 68system_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2835_peripherals.c'))
9404dcde
PMD
69system_ss.add(when: 'CONFIG_SPITZ', if_true: files('spitz.c'))
70system_ss.add(when: 'CONFIG_STRONGARM', if_true: files('strongarm.c'))
71system_ss.add(when: 'CONFIG_SX1', if_true: files('omap_sx1.c'))
de6cd759 72system_ss.add(when: 'CONFIG_TOSA', if_true: files('tosa.c'))
9404dcde
PMD
73system_ss.add(when: 'CONFIG_VERSATILE', if_true: files('versatilepb.c'))
74system_ss.add(when: 'CONFIG_VEXPRESS', if_true: files('vexpress.c'))
75system_ss.add(when: 'CONFIG_Z2', if_true: files('z2.c'))
fbdefc85 76
2c44220d 77hw_arch += {'arm': arm_ss}