mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Makefile.dep: include new DEFAULT_MODULEs
Currently default modules resolution is only performed in Makefile.include. This avoids DEFAULT_MODULES being declared in Makefile.dep since they never become USEMODULE. Duplicate at the end of the dependency resolutiion after recursive cach of transitive depdencies since at this stage DEFAULT_MODULES can't and SHOULD NOT trigger depedency resolutions.
This commit is contained in:
parent
ab9551840e
commit
370998cc3e
@ -1056,3 +1056,9 @@ USEPKG := $(sort $(USEPKG))
|
||||
ifneq ($(OLD_USEMODULE) $(OLD_USEPKG),$(USEMODULE) $(USEPKG))
|
||||
include $(RIOTBASE)/Makefile.dep
|
||||
endif
|
||||
|
||||
# Add auto_init_% DEFAULT_MODULES. This is done after the recursive cach since
|
||||
# none of these modules can trigger dependency resolution.
|
||||
ifneq (,$(filter auto_init,$(USEMODULE)))
|
||||
USEMODULE += $(filter auto_init_%,$(filter-out $(DISABLE_MODULE),$(DEFAULT_MODULE)))
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user