Makefile.dep: include board specific application dependency file

This commit allows to add a Makefile.dep file in an application directory to finely tune application dependencies, based on a board.
Using this mechanism, if an application has dependencies pulled-in based on a board, info-boards-supported, will take this into account to determine the boards supported by an application
This commit is contained in:
Alexandre Abadie 2019-11-18 15:51:44 +01:00
parent dcd432dd51
commit a131ea7576
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -2,6 +2,9 @@
OLD_USEMODULE := $(sort $(USEMODULE))
OLD_USEPKG := $(sort $(USEPKG))
# include board specific application dependencies
-include $(APPDIR)/Makefile.board.dep
# include board dependencies
-include $(RIOTBOARD)/$(BOARD)/Makefile.dep