1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Makefile.dep: include per driver Makefile.dep if used and exist

This commit is contained in:
Alexandre Abadie 2020-06-26 21:54:02 +02:00
parent f013be5507
commit 54d51bb098
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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)