mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
use filter instead of findstring in BOARD_BLACKLIST checking
This commit is contained in:
parent
24defa5289
commit
d3901529c6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user