mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 15:03:53 +01:00
Merge pull request #11480 from cladmi/pr/make/makefile_features_file
Makefile.features: add a common file for the features parsing
This commit is contained in:
commit
783d74aa8f
3
Makefile.features
Normal file
3
Makefile.features
Normal file
@ -0,0 +1,3 @@
|
||||
# Process FEATURES variables
|
||||
|
||||
include $(RIOTBOARD)/$(BOARD)/Makefile.features
|
||||
@ -245,7 +245,7 @@ export PREFIX ?= $(if $(TARGET_ARCH),$(TARGET_ARCH)-)
|
||||
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include
|
||||
|
||||
# process provided features
|
||||
include $(RIOTBOARD)/$(BOARD)/Makefile.features
|
||||
include $(RIOTBASE)/Makefile.features
|
||||
|
||||
# mandatory includes!
|
||||
include $(RIOTMAKE)/pseudomodules.inc.mk
|
||||
|
||||
@ -16,7 +16,9 @@ define board_missing_features
|
||||
FEATURES_OPTIONAL := $(FEATURES_OPTIONAL_GLOBAL)
|
||||
FEATURES_MISSING :=
|
||||
FEATURES_PROVIDED :=
|
||||
include $$(RIOTBOARD)/$(1)/Makefile.features
|
||||
|
||||
include $(RIOTBASE)/Makefile.features
|
||||
|
||||
ifdef BUILDTEST_MCU_GROUP
|
||||
ifneq ($(BUILDTEST_MCU_GROUP), $$(FEATURES_MCU_GROUP))
|
||||
BOARDS_FEATURES_MISSING += "$(1) $(BUILDTEST_MCU_GROUP)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user