Skip to content
Snippets Groups Projects
Commit d3901529 authored by Ludwig Knüpfer's avatar Ludwig Knüpfer
Browse files

use filter instead of findstring in BOARD_BLACKLIST checking

parent 24defa52
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ $(error This application only runs on following boards: $(BOARD_WHITELIST)) ...@@ -19,7 +19,7 @@ $(error This application only runs on following boards: $(BOARD_WHITELIST))
endif endif
endif endif
ifneq (,$(findstring $(BOARD),$(BOARD_BLACKLIST))) ifneq (,$(filter $(BOARD),$(BOARD_BLACKLIST)))
$(error This application does not run on following boards: $(BOARD_BLACKLIST)) $(error This application does not run on following boards: $(BOARD_BLACKLIST))
endif endif
endif endif
......
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