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

make: factor out features handling, add default feature handling

parent 4291c1f8
No related branches found
No related tags found
No related merge requests found
# import list of provided features
-include $(RIOTBOARD)/$(BOARD)/Makefile.features
-include $(RIOTCPU)/$(CPU)/Makefile.features
DEFAULT_FEATURES += periph_pm
# add available default features to required list
FEATURES_REQUIRED += $(filter-out $(DISABLE_FEATURES), $(filter $(FEATURES_PROVIDED), $(DEFAULT_FEATURES)))
......@@ -398,8 +398,8 @@ $(CURDIR)/eclipsesym.xml:
# Extra make goals for testing and comparing changes.
include $(RIOTBASE)/Makefile.buildtests
# import list of provided features
-include $(RIOTBOARD)/$(BOARD)/Makefile.features
# process provided features
include $(RIOTBASE)/Makefile.features
# Export variables used throughout the whole make system:
include $(RIOTBASE)/Makefile.vars
......
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