Skip to content
Snippets Groups Projects
Commit 8965e9e2 authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

make: make features available to Makefile.include

parent 172c9e80
No related branches found
No related tags found
No related merge requests found
......@@ -207,6 +207,9 @@ INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBAS
INCLUDES += -I$(RIOTCPU)/$(CPU)/include
INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include
# process provided features
-include $(RIOTBOARD)/$(BOARD)/Makefile.features
# mandatory includes!
include $(RIOTMAKE)/pseudomodules.inc.mk
include $(RIOTMAKE)/defaultmodules.inc.mk
......@@ -223,9 +226,6 @@ ifneq ($(GNRC_NETIF_NUMOF),1)
CFLAGS += -DGNRC_NETIF_NUMOF=$(GNRC_NETIF_NUMOF)
endif
# process provided features
include $(RIOTMAKE)/features.inc.mk
# process dependencies
include $(RIOTBASE)/Makefile.dep
......
# import list of provided features
include $(RIOTBOARD)/$(BOARD)/Makefile.features
DEFAULT_FEATURES += periph_pm
# add available default features to required list
FEATURES_REQUIRED += $(filter-out $(DISABLE_FEATURES), $(filter $(FEATURES_PROVIDED), $(DEFAULT_FEATURES)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment