mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
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
|
||||
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…
Reference in New Issue
Block a user