1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Makefile.include: intial features check before dependency resolution

This commit is contained in:
Francisco Molina 2020-09-11 17:10:42 +02:00
parent 842933855f
commit 90a4d77879
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8

View File

@ -379,6 +379,9 @@ ifeq (1,$(TEST_KCONFIG))
KCONFIG_MODULES := $(call lowercase,$(patsubst CONFIG_MODULE_%,%,$(filter CONFIG_MODULE_%,$(.VARIABLES))))
USEMODULE := $(KCONFIG_MODULES)
else
# check if required features are provided and update $(FEATURES_USED)
include $(RIOTMAKE)/features_check.inc.mk
# handle removal of default modules
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))