Skip to content

Commit

Permalink
Merge pull request #2572 from phiros/make_buildtest_function_without_…
Browse files Browse the repository at this point in the history
…env_variable_set

make: allow buildtest targets to function without BUILDTEST_MCU_GROUP
  • Loading branch information
OlegHahm committed Mar 13, 2015
2 parents 1eac81b + 6087aaf commit c13e589
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 c13e589

Please sign in to comment.