]> git.proxmox.com Git - mirror_qemu.git/blame - hw/misc/meson.build
adc: Move the zynq-xadc file to the adc directories
[mirror_qemu.git] / hw / misc / meson.build
CommitLineData
721cdcae
MAL
1softmmu_ss.add(when: 'CONFIG_APPLESMC', if_true: files('applesmc.c'))
2softmmu_ss.add(when: 'CONFIG_EDU', if_true: files('edu.c'))
3softmmu_ss.add(when: 'CONFIG_FW_CFG_DMA', if_true: files('vmcoreinfo.c'))
4softmmu_ss.add(when: 'CONFIG_ISA_DEBUG', if_true: files('debugexit.c'))
5softmmu_ss.add(when: 'CONFIG_ISA_TESTDEV', if_true: files('pc-testdev.c'))
6softmmu_ss.add(when: 'CONFIG_MAX111X', if_true: files('max111x.c'))
7softmmu_ss.add(when: 'CONFIG_PCA9552', if_true: files('pca9552.c'))
8softmmu_ss.add(when: 'CONFIG_PCI_TESTDEV', if_true: files('pci-testdev.c'))
9softmmu_ss.add(when: 'CONFIG_SGA', if_true: files('sga.c'))
10softmmu_ss.add(when: 'CONFIG_TMP105', if_true: files('tmp105.c'))
11softmmu_ss.add(when: 'CONFIG_TMP421', if_true: files('tmp421.c'))
5e623f2b 12softmmu_ss.add(when: 'CONFIG_EMC141X', if_true: files('emc141x.c'))
721cdcae
MAL
13softmmu_ss.add(when: 'CONFIG_UNIMP', if_true: files('unimp.c'))
14softmmu_ss.add(when: 'CONFIG_EMPTY_SLOT', if_true: files('empty_slot.c'))
c1b29826 15softmmu_ss.add(when: 'CONFIG_LED', if_true: files('led.c'))
677726ef 16softmmu_ss.add(when: 'CONFIG_PVPANIC_COMMON', if_true: files('pvpanic.c'))
721cdcae
MAL
17
18# ARM devices
19softmmu_ss.add(when: 'CONFIG_PL310', if_true: files('arm_l2x0.c'))
20softmmu_ss.add(when: 'CONFIG_INTEGRATOR_DEBUG', if_true: files('arm_integrator_debug.c'))
21softmmu_ss.add(when: 'CONFIG_A9SCU', if_true: files('a9scu.c'))
22softmmu_ss.add(when: 'CONFIG_ARM11SCU', if_true: files('arm11scu.c'))
23
24# Mac devices
25softmmu_ss.add(when: 'CONFIG_MOS6522', if_true: files('mos6522.c'))
26
0791bc02
LV
27# virt devices
28softmmu_ss.add(when: 'CONFIG_VIRT_CTRL', if_true: files('virt_ctrl.c'))
29
89ece6f7 30# RISC-V devices
3400b15b 31softmmu_ss.add(when: 'CONFIG_MCHP_PFSOC_DMC', if_true: files('mchp_pfsoc_dmc.c'))
a937b302 32softmmu_ss.add(when: 'CONFIG_MCHP_PFSOC_IOSCB', if_true: files('mchp_pfsoc_ioscb.c'))
0f25065c 33softmmu_ss.add(when: 'CONFIG_MCHP_PFSOC_SYSREG', if_true: files('mchp_pfsoc_sysreg.c'))
a4b84608 34softmmu_ss.add(when: 'CONFIG_SIFIVE_TEST', if_true: files('sifive_test.c'))
89ece6f7 35softmmu_ss.add(when: 'CONFIG_SIFIVE_E_PRCI', if_true: files('sifive_e_prci.c'))
0fa9e329 36softmmu_ss.add(when: 'CONFIG_SIFIVE_U_OTP', if_true: files('sifive_u_otp.c'))
9fe640a5 37softmmu_ss.add(when: 'CONFIG_SIFIVE_U_PRCI', if_true: files('sifive_u_prci.c'))
89ece6f7 38
721cdcae
MAL
39subdir('macio')
40
41softmmu_ss.add(when: 'CONFIG_IVSHMEM_DEVICE', if_true: files('ivshmem.c'))
42
43softmmu_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-ccu.c'))
44specific_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-cpucfg.c'))
45softmmu_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-dramc.c'))
46softmmu_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-sysctrl.c'))
47softmmu_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-sid.c'))
48softmmu_ss.add(when: 'CONFIG_REALVIEW', if_true: files('arm_sysctl.c'))
49softmmu_ss.add(when: 'CONFIG_NSERIES', if_true: files('cbus.c'))
50softmmu_ss.add(when: 'CONFIG_ECCMEMCTL', if_true: files('eccmemctl.c'))
51softmmu_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210_pmu.c', 'exynos4210_clk.c', 'exynos4210_rng.c'))
52softmmu_ss.add(when: 'CONFIG_IMX', if_true: files(
53 'imx25_ccm.c',
54 'imx31_ccm.c',
55 'imx6_ccm.c',
56 'imx6ul_ccm.c',
57 'imx7_ccm.c',
58 'imx7_gpr.c',
59 'imx7_snvs.c',
60 'imx_ccm.c',
61 'imx_rngc.c',
62))
721cdcae 63softmmu_ss.add(when: 'CONFIG_MAINSTONE', if_true: files('mst_fpga.c'))
e5a7ba87 64softmmu_ss.add(when: 'CONFIG_NPCM7XX', if_true: files(
e331f79e 65 'npcm7xx_clk.c',
e5a7ba87 66 'npcm7xx_gcr.c',
380a37e4 67 'npcm7xx_mft.c',
1e943c58 68 'npcm7xx_pwm.c',
326ccfe2 69 'npcm7xx_rng.c',
e5a7ba87 70))
721cdcae
MAL
71softmmu_ss.add(when: 'CONFIG_OMAP', if_true: files(
72 'omap_clk.c',
73 'omap_gpmc.c',
74 'omap_l4.c',
75 'omap_sdrc.c',
76 'omap_tap.c',
77))
78softmmu_ss.add(when: 'CONFIG_RASPI', if_true: files(
79 'bcm2835_mbox.c',
80 'bcm2835_mphi.c',
81 'bcm2835_property.c',
82 'bcm2835_rng.c',
83 'bcm2835_thermal.c',
fc14176b 84 'bcm2835_cprman.c',
721cdcae
MAL
85))
86softmmu_ss.add(when: 'CONFIG_SLAVIO', if_true: files('slavio_misc.c'))
246f530c 87softmmu_ss.add(when: 'CONFIG_ZYNQ', if_true: files('zynq_slcr.c'))
9f617635 88softmmu_ss.add(when: 'CONFIG_XLNX_VERSAL', if_true: files('xlnx-versal-xramc.c'))
721cdcae
MAL
89softmmu_ss.add(when: 'CONFIG_STM32F2XX_SYSCFG', if_true: files('stm32f2xx_syscfg.c'))
90softmmu_ss.add(when: 'CONFIG_STM32F4XX_SYSCFG', if_true: files('stm32f4xx_syscfg.c'))
91softmmu_ss.add(when: 'CONFIG_STM32F4XX_EXTI', if_true: files('stm32f4xx_exti.c'))
92softmmu_ss.add(when: 'CONFIG_MPS2_FPGAIO', if_true: files('mps2-fpgaio.c'))
93softmmu_ss.add(when: 'CONFIG_MPS2_SCC', if_true: files('mps2-scc.c'))
94
95softmmu_ss.add(when: 'CONFIG_TZ_MPC', if_true: files('tz-mpc.c'))
96softmmu_ss.add(when: 'CONFIG_TZ_MSC', if_true: files('tz-msc.c'))
97softmmu_ss.add(when: 'CONFIG_TZ_PPC', if_true: files('tz-ppc.c'))
98softmmu_ss.add(when: 'CONFIG_IOTKIT_SECCTL', if_true: files('iotkit-secctl.c'))
99softmmu_ss.add(when: 'CONFIG_IOTKIT_SYSINFO', if_true: files('iotkit-sysinfo.c'))
4239b311 100softmmu_ss.add(when: 'CONFIG_ARMSSE_CPU_PWRCTRL', if_true: files('armsse-cpu-pwrctrl.c'))
721cdcae
MAL
101softmmu_ss.add(when: 'CONFIG_ARMSSE_CPUID', if_true: files('armsse-cpuid.c'))
102softmmu_ss.add(when: 'CONFIG_ARMSSE_MHU', if_true: files('armsse-mhu.c'))
103
677726ef 104softmmu_ss.add(when: 'CONFIG_PVPANIC_ISA', if_true: files('pvpanic-isa.c'))
d097b3dc 105softmmu_ss.add(when: 'CONFIG_PVPANIC_PCI', if_true: files('pvpanic-pci.c'))
721cdcae 106softmmu_ss.add(when: 'CONFIG_AUX', if_true: files('auxbus.c'))
2ecf1726 107softmmu_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files(
c5475b3f 108 'aspeed_hace.c',
2ecf1726
CLG
109 'aspeed_lpc.c',
110 'aspeed_scu.c',
111 'aspeed_sdmc.c',
112 'aspeed_xdma.c'))
113
721cdcae
MAL
114softmmu_ss.add(when: 'CONFIG_MSF2', if_true: files('msf2-sysreg.c'))
115softmmu_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_rng.c'))
116
117softmmu_ss.add(when: 'CONFIG_GRLIB', if_true: files('grlib_ahb_apb_pnp.c'))
118
119specific_ss.add(when: 'CONFIG_AVR_POWER', if_true: files('avr_power.c'))
120
121specific_ss.add(when: 'CONFIG_IMX', if_true: files('imx6_src.c'))
122specific_ss.add(when: 'CONFIG_IOTKIT_SYSCTL', if_true: files('iotkit-sysctl.c'))
123
124specific_ss.add(when: 'CONFIG_MAC_VIA', if_true: files('mac_via.c'))
125
126specific_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('mips_cmgcr.c', 'mips_cpc.c'))
127specific_ss.add(when: 'CONFIG_MIPS_ITU', if_true: files('mips_itu.c'))
dccb92b5
GG
128
129specific_ss.add(when: 'CONFIG_SBSA_REF', if_true: files('sbsa_ec.c'))