From 606402e8481394a4244b8aa30e0c28b74f9f7bf9 Mon Sep 17 00:00:00 2001 From: MrKevinWeiss Date: Thu, 11 Aug 2022 09:35:18 +0200 Subject: [PATCH] drivers: Only select periph_gpio_ll_irq_unmask if needed --- drivers/periph_common/Makefile.dep | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/periph_common/Makefile.dep b/drivers/periph_common/Makefile.dep index 714a674bd3..5a08a3c0e4 100644 --- a/drivers/periph_common/Makefile.dep +++ b/drivers/periph_common/Makefile.dep @@ -1,2 +1,4 @@ # Always use periph_gpio_irq_unmask, if available -FEATURES_OPTIONAL += periph_gpio_ll_irq_unmask +ifneq (,$(filter periph_gpio_ll%,$(USEMODULE))) + FEATURES_OPTIONAL += periph_gpio_ll_irq_unmask +endif