Skip to content

Commit

Permalink
make: allow buildtest targets to function without BUILDTEST_MCU_GROUP
Browse files Browse the repository at this point in the history
  • Loading branch information
phiros committed Mar 12, 2015
1 parent ba14149 commit 6087aaf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile.buildtests
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,11 @@ ifneq (, $(filter info-boards-supported info-boards-features-missing info-build,
define board_missing_features
FEATURES_PROVIDED := $(FEATURES_PROVIDED_BAK)
-include $${RIOTBOARD}/${1}/Makefile.features
ifneq ($(BUILDTEST_MCU_GROUP), $$(FEATURES_MCU_GROUP))
BOARDS_FEATURES_MISSING += "${1} $${BUILDTEST_MCU_GROUP}"
BOARDS_WITH_MISSING_FEATURES += ${1}
ifdef BUILDTEST_MCU_GROUP
ifneq ($(BUILDTEST_MCU_GROUP), $$(FEATURES_MCU_GROUP))
BOARDS_FEATURES_MISSING += "${1} $${BUILDTEST_MCU_GROUP}"
BOARDS_WITH_MISSING_FEATURES += ${1}
endif
endif

FEATURES_MISSING := $$(filter-out $$(FEATURES_PROVIDED), $$(FEATURES_REQUIRED))
Expand Down

0 comments on commit 6087aaf

Please sign in to comment.