Arm ports of platforms that don't have an interrupt controller
(linuxu, xen) should not display the GIC driver in menuconfig.
Make the GIC driver conditional to `HAVE_INTCTLR` to prevent it
from being dispayed in these platforms.
Notice: Picking individual commits in this PR will break the build.
Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Marco Schlumpp <marco@unikraft.io>
Reviewed-by: Sergiu Moga <sergiu@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1103
config LIBUKINTCTLR_GICV2
bool "Arm Generic Interrupt Controller (GICv2)"
- depends on ARCH_ARM_64
+ depends on (HAVE_INTCTLR && ARCH_ARM_64)
select LIBUKINTCTLR_GIC
config LIBUKINTCTLR_GICV3
bool "Arm Generic Interrupt Controller (GICv3)"
- depends on ARCH_ARM_64
+ depends on (HAVE_INTCTLR && ARCH_ARM_64)
select LIBUKINTCTLR_GIC