From 54d51bb0985037d0c7cb872a3efa88bf32bd78d8 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 26 Jun 2020 21:54:02 +0200 Subject: [PATCH] Makefile.dep: include per driver Makefile.dep if used and exist --- Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.dep b/Makefile.dep index 385dcfecfc..4e58949f5c 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -15,6 +15,9 @@ include $(RIOTBASE)/sys/Makefile.dep include $(RIOTBASE)/drivers/Makefile.dep +# pull Makefile.dep of each driver modules if they exist +-include $(sort $(USEMODULE:%=$(RIOTBASE)/drivers/%/Makefile.dep)) + # pull dependencies from packages -include $(USEPKG:%=$(RIOTPKG)/%/Makefile.dep)