1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/makefiles/defaultmodules.inc.mk
Leandro Lanzieri 645ac53fe0
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.
2021-01-25 09:16:59 +01:00

13 lines
368 B
Makefile

DEFAULT_MODULE += board cpu core core_init core_msg core_panic sys
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