From c0a614d896bf8b28f414541639963aba2bf1d321 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Wed, 26 Apr 2023 15:15:53 +0200 Subject: [PATCH] drivers/servo: Fix missing dep The servo test app uses `USEMODULE += servo` and lets the build system pick automatically the best suitable backend. If one explicitly chooses a backend e.g. via `USEMODULE += servo_timer`, this currently requires adding `USEMODULE += servo` in addition. This commit fixes the issue. Fixes https://github.com/RIOT-OS/RIOT/issues/19474 --- drivers/Makefile.dep | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/Makefile.dep b/drivers/Makefile.dep index 7942346088..9be99ff67e 100644 --- a/drivers/Makefile.dep +++ b/drivers/Makefile.dep @@ -176,6 +176,10 @@ ifneq (,$(filter sdp3x_%,$(USEMODULE))) USEMODULE += sdp3x endif +ifneq (,$(filter servo_%,$(USEMODULE))) + USEMODULE += servo +endif + ifneq (,$(filter sht1%,$(USEMODULE))) USEMODULE += sht1x endif