2019-04-06 15:08:09 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-08-04 20:54:40 +02:00
|
|
|
zephyr_library()
|
2021-09-06 16:54:03 +02:00
|
|
|
zephyr_library_property(ALLOW_EMPTY TRUE)
|
2021-08-04 20:54:40 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_ARCV2_INTERRUPT_UNIT intc_arcv2_irq_unit.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_CAVS_ICTL intc_cavs.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_DW_ICTL intc_dw.c)
|
2022-10-03 19:55:37 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_DW_ICTL_ACE intc_dw_ace.c)
|
2021-08-04 20:54:40 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_EXTI_STM32 intc_exti_stm32.c)
|
2021-12-07 18:59:00 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_GD32_EXTI intc_gd32_exti.c)
|
2021-08-04 20:54:40 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_GIC_V1 intc_gic.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_GIC_V2 intc_gic.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_GIC_V3 intc_gicv3.c)
|
2021-08-06 16:32:53 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_GIC_V3_ITS intc_gicv3_its.c)
|
2021-08-04 20:54:40 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INTEL_VTD_ICTL intc_intel_vtd.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_IOAPIC intc_ioapic.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_ITE_IT8XXX2_INTC intc_ite_it8xxx2.c)
|
2022-10-05 08:05:43 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_ITE_IT8XXX2_INTC_V2 intc_ite_it8xxx2_v2.c)
|
2021-09-07 07:45:39 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_ITE_IT8XXX2_WUC wuc_ite_it8xxx2.c)
|
2021-08-04 20:54:40 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_LEON_IRQMP intc_irqmp.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_LOAPIC intc_loapic.c intc_system_apic.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_LOAPIC_SPURIOUS_VECTOR intc_loapic_spurious.S)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_MCHP_ECIA_XEC intc_mchp_ecia_xec.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_NPCX_MIWU intc_miwu.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_PLIC intc_plic.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_RV32M1_INTMUX intc_rv32m1_intmux.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_SAM0_EIC intc_sam0_eic.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_SHARED_IRQ intc_shared_irq.c)
|
2021-08-21 01:12:07 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INTC_ESP32 intc_esp32.c)
|
2021-08-30 15:04:34 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_INTC_ESP32C3 intc_esp32c3.c)
|
2021-08-04 20:54:40 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_SWERV_PIC intc_swerv_pic.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_VEXRISCV_LITEX_IRQ intc_vexriscv_litex.c)
|
2023-06-27 15:26:50 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_VIM intc_vim.c)
|
2021-11-15 00:34:11 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_NUCLEI_ECLIC intc_nuclei_eclic.c)
|
2023-12-21 13:41:59 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_NUCLEI_ECLIC intc_nuclei_eclic.S)
|
2024-04-04 11:08:44 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_NRFX_CLIC intc_nrfx_clic.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_NRFX_CLIC intc_nrfx_clic.S)
|
2022-10-12 09:37:52 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_NXP_S32_EIRQ intc_eirq_nxp_s32.c)
|
2023-09-11 08:35:59 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_NXP_S32_WKPU intc_wkpu_nxp_s32.c)
|
2022-07-21 20:33:28 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_XMC4XXX_INTC intc_xmc4xxx.c)
|
2023-04-10 23:30:23 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_NXP_PINT intc_nxp_pint.c)
|
2024-01-24 16:06:24 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_RENESAS_RA_ICU intc_renesas_ra_icu.c)
|
2023-09-18 15:09:58 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_NXP_IRQSTEER intc_nxp_irqsteer.c)
|
2021-01-07 14:10:48 +01:00
|
|
|
|
|
|
|
if(CONFIG_INTEL_VTD_ICTL)
|
|
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/arch/x86/include)
|
|
|
|
endif()
|
2023-09-20 12:01:35 +02:00
|
|
|
|
2023-11-21 15:53:01 +01:00
|
|
|
if(CONFIG_PLIC_SHELL)
|
|
|
|
message(WARNING "
|
|
|
|
WARNING: `CONFIG_PLIC_SHELL` is enabled.
|
|
|
|
This can use quite a bit of RAM (PLICs * IRQs * sizeof(uint16_t))"
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2023-09-20 12:01:35 +02:00
|
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/arch/common/include)
|