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:
parent
842933855f
commit
90a4d77879
@ -379,6 +379,9 @@ ifeq (1,$(TEST_KCONFIG))
|
|||||||
KCONFIG_MODULES := $(call lowercase,$(patsubst CONFIG_MODULE_%,%,$(filter CONFIG_MODULE_%,$(.VARIABLES))))
|
KCONFIG_MODULES := $(call lowercase,$(patsubst CONFIG_MODULE_%,%,$(filter CONFIG_MODULE_%,$(.VARIABLES))))
|
||||||
USEMODULE := $(KCONFIG_MODULES)
|
USEMODULE := $(KCONFIG_MODULES)
|
||||||
else
|
else
|
||||||
|
# check if required features are provided and update $(FEATURES_USED)
|
||||||
|
include $(RIOTMAKE)/features_check.inc.mk
|
||||||
|
|
||||||
# handle removal of default modules
|
# handle removal of default modules
|
||||||
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))
|
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user