makefiles: allow boards and CPUs to define default modules
This allows boards and CPUs to define a Makefile.default file where default modules can be added before the normal dependency resolution.
This commit is contained in:
parent
735c47ef65
commit
645ac53fe0
@ -4,3 +4,9 @@ DEFAULT_MODULE += auto_init
|
|||||||
|
|
||||||
# Initialize all used peripherals by default
|
# Initialize all used peripherals by default
|
||||||
DEFAULT_MODULE += periph_init
|
DEFAULT_MODULE += periph_init
|
||||||
|
|
||||||
|
# Include potentially added default modules by the board
|
||||||
|
-include $(BOARDDIR)/Makefile.default
|
||||||
|
|
||||||
|
# Include potentially added default modules by the CPU
|
||||||
|
-include $(RIOTCPU)/$(CPU)/Makefile.default
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user