1
0
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:
Leandro Lanzieri 2021-01-22 11:47:11 +01:00
parent 735c47ef65
commit 645ac53fe0
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593

View File

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