[PATCH 5/5] irqchip/irq-pic32-evic: allow driver to be compiled with COMPILE_TEST

From: Brian Masney

Date: Sun Feb 22 2026 - 18:46:39 EST


This driver currently only supports builds against a PIC32 target. To
avoid future breakage in the future, let's update the Kconfig so that
it can be built with COMPILE_TEST enabled.

Signed-off-by: Brian Masney <bmasney@xxxxxxxxxx>
---
drivers/irqchip/Kconfig | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index f07b00d7fef9078369a1dffb7ce414d37806d1c1..dc26effa5b364331d50d2d7bb823a11cac88ae4e 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -252,9 +252,12 @@ config ORION_IRQCHIP
select IRQ_DOMAIN

config PIC32_EVIC
- bool
+ def_bool MACH_PIC32 || COMPILE_TEST
select GENERIC_IRQ_CHIP
select IRQ_DOMAIN
+ help
+ Enable support for the interrupt controller on the Microchip PIC32
+ family of platforms.

config JCORE_AIC
bool "J-Core integrated AIC" if COMPILE_TEST

--
2.53.0