mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Makefile.include: include per driver Makefile.include if available
This commit is contained in:
parent
7150c7ae10
commit
38f32be24f
@ -449,6 +449,9 @@ USEMODULE_INCLUDES =
|
||||
include $(RIOTBASE)/sys/Makefile.include
|
||||
include $(RIOTBASE)/drivers/Makefile.include
|
||||
|
||||
# include Makefile.includes of each driver modules if they exist
|
||||
-include $(USEMODULE:%=$(RIOTBASE)/drivers/%/Makefile.include)
|
||||
|
||||
# include Makefile.includes for packages in $(USEPKG)
|
||||
-include $(USEPKG:%=$(RIOTPKG)/%/Makefile.include)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user