From d3901529c63db66f2d464229ecc2e43409453f16 Mon Sep 17 00:00:00 2001 From: Ludwig Ortmann <ludwig.ortmann@fu-berlin.de> Date: Sat, 15 Feb 2014 07:56:46 +0100 Subject: [PATCH] use filter instead of findstring in BOARD_BLACKLIST checking --- Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index d4853f570c..6eaa239fff 100644 --- a/Makefile.include +++ b/Makefile.include @@ -19,7 +19,7 @@ $(error This application only runs on following boards: $(BOARD_WHITELIST)) endif endif - ifneq (,$(findstring $(BOARD),$(BOARD_BLACKLIST))) + ifneq (,$(filter $(BOARD),$(BOARD_BLACKLIST))) $(error This application does not run on following boards: $(BOARD_BLACKLIST)) endif endif -- GitLab