mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefile.include: avoid recursive expansion of USEMODULE
This commit is contained in:
parent
71fe6685b5
commit
735c47ef65
@ -387,6 +387,9 @@ else
|
||||
# handle removal of default modules
|
||||
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))
|
||||
|
||||
# avoid recursive expansion
|
||||
USEMODULE := $(sort $(USEMODULE))
|
||||
|
||||
# process dependencies
|
||||
include $(RIOTMAKE)/dependency_resolution.inc.mk
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user