1
0
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:
Leandro Lanzieri 2021-01-22 09:15:36 +01:00
parent 71fe6685b5
commit 735c47ef65
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593

View File

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