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
Francisco Molina 25e670e263 makefiles/dependency_resolution: add outer loop for DEFAULT_MODULE deps
Some DEFAULT_MODULEs in tree have dependencies of their own. This is
usually done for aliases of init modules, and do not have dependencies
themselves.

This adds the final stage to dependency resolutions where DEFAULT_MODULEs
dependencies MAY be included. These included modules MUST NOT have
dependencies themselves.

This allows for modules to disable DEFAULT_MODULEs during dependencies
resolution independent of the inclusion order.

auto_init and periph_init modules are moved to this outer-loop, allowing
therefore for modules to disable them during the dependency resolution
2022-02-14 12:59:31 +01:00

8 lines
263 B
Makefile

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