xref: /openbmc/qemu/hw/intc/meson.build (revision 30b6852c)
1softmmu_ss.add(files('intc.c'))
2softmmu_ss.add(when: 'CONFIG_ARM_GIC', if_true: files(
3  'arm_gic.c',
4  'arm_gic_common.c',
5  'arm_gicv2m.c',
6  'arm_gicv3.c',
7  'arm_gicv3_common.c',
8  'arm_gicv3_dist.c',
9  'arm_gicv3_its_common.c',
10  'arm_gicv3_redist.c',
11  'arm_gicv3_its.c',
12))
13softmmu_ss.add(when: 'CONFIG_ETRAXFS', if_true: files('etraxfs_pic.c'))
14softmmu_ss.add(when: 'CONFIG_HEATHROW_PIC', if_true: files('heathrow_pic.c'))
15softmmu_ss.add(when: 'CONFIG_I8259', if_true: files('i8259_common.c', 'i8259.c'))
16softmmu_ss.add(when: 'CONFIG_IMX', if_true: files('imx_avic.c', 'imx_gpcv2.c'))
17softmmu_ss.add(when: 'CONFIG_IOAPIC', if_true: files('ioapic_common.c'))
18softmmu_ss.add(when: 'CONFIG_OPENPIC', if_true: files('openpic.c'))
19softmmu_ss.add(when: 'CONFIG_PL190', if_true: files('pl190.c'))
20softmmu_ss.add(when: 'CONFIG_REALVIEW', if_true: files('realview_gic.c'))
21softmmu_ss.add(when: 'CONFIG_SLAVIO', if_true: files('slavio_intctl.c'))
22softmmu_ss.add(when: 'CONFIG_XILINX', if_true: files('xilinx_intc.c'))
23softmmu_ss.add(when: 'CONFIG_XLNX_ZYNQMP', if_true: files('xlnx-zynqmp-ipi.c'))
24softmmu_ss.add(when: 'CONFIG_XLNX_ZYNQMP_PMU', if_true: files('xlnx-pmu-iomod-intc.c'))
25
26specific_ss.add(when: 'CONFIG_ALLWINNER_A10_PIC', if_true: files('allwinner-a10-pic.c'))
27specific_ss.add(when: 'CONFIG_APIC', if_true: files('apic.c', 'apic_common.c'))
28specific_ss.add(when: 'CONFIG_ARM_GIC', if_true: files('arm_gicv3_cpuif.c'))
29specific_ss.add(when: 'CONFIG_ARM_GIC_KVM', if_true: files('arm_gic_kvm.c'))
30specific_ss.add(when: ['CONFIG_ARM_GIC_KVM', 'TARGET_AARCH64'], if_true: files('arm_gicv3_kvm.c', 'arm_gicv3_its_kvm.c'))
31specific_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('armv7m_nvic.c'))
32specific_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files('aspeed_vic.c'))
33specific_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210_gic.c', 'exynos4210_combiner.c'))
34specific_ss.add(when: 'CONFIG_GRLIB', if_true: files('grlib_irqmp.c'))
35specific_ss.add(when: 'CONFIG_IBEX', if_true: files('ibex_plic.c'))
36specific_ss.add(when: 'CONFIG_IOAPIC', if_true: files('ioapic.c'))
37specific_ss.add(when: 'CONFIG_LOONGSON_LIOINTC', if_true: files('loongson_liointc.c'))
38specific_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('mips_gic.c'))
39specific_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_intc.c'))
40specific_ss.add(when: 'CONFIG_OMPIC', if_true: files('ompic.c'))
41specific_ss.add(when: ['CONFIG_KVM', 'CONFIG_OPENPIC'],
42		if_true: files('openpic_kvm.c'))
43specific_ss.add(when: 'CONFIG_POWERNV', if_true: files('xics_pnv.c', 'pnv_xive.c'))
44specific_ss.add(when: 'CONFIG_PPC_UIC', if_true: files('ppc-uic.c'))
45specific_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2835_ic.c', 'bcm2836_control.c'))
46specific_ss.add(when: 'CONFIG_RX_ICU', if_true: files('rx_icu.c'))
47specific_ss.add(when: 'CONFIG_S390_FLIC', if_true: files('s390_flic.c'))
48specific_ss.add(when: 'CONFIG_S390_FLIC_KVM', if_true: files('s390_flic_kvm.c'))
49specific_ss.add(when: 'CONFIG_SH_INTC', if_true: files('sh_intc.c'))
50specific_ss.add(when: 'CONFIG_RISCV_ACLINT', if_true: files('riscv_aclint.c'))
51specific_ss.add(when: 'CONFIG_SIFIVE_PLIC', if_true: files('sifive_plic.c'))
52specific_ss.add(when: 'CONFIG_XICS', if_true: files('xics.c'))
53specific_ss.add(when: ['CONFIG_KVM', 'CONFIG_XICS'],
54		if_true: files('xics_kvm.c'))
55specific_ss.add(when: 'CONFIG_PSERIES', if_true: files('xics_spapr.c', 'spapr_xive.c'))
56specific_ss.add(when: 'CONFIG_XIVE', if_true: files('xive.c'))
57specific_ss.add(when: ['CONFIG_KVM', 'CONFIG_XIVE'],
58		if_true: files('spapr_xive_kvm.c'))
59specific_ss.add(when: 'CONFIG_GOLDFISH_PIC', if_true: files('goldfish_pic.c'))
60specific_ss.add(when: 'CONFIG_M68K_IRQC', if_true: files('m68k_irqc.c'))
61