From da7f797429a1d03a118acc127b45b1388a8da872 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Sun, 6 May 2018 23:41:51 +0200 Subject: [PATCH] Disable OMV2 build. --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index b1965a30e..771d9627b 100755 --- a/src/Makefile +++ b/src/Makefile @@ -57,9 +57,9 @@ CFLAGS += -O2 -ggdb3 -DNDEBUG endif # OpenMV1 is No longer supported -ifeq ($(TARGET), OPENMV1) +ifeq ($(TARGET), $(filter $(TARGET),OPENMV1 OPENMV2)) BRACKET = :) -$(error "OPENMV1 is no longer supported :O Have fun hacking the code $(BRACKET)") +$(error "This camera is no longer supported :O Have fun hacking the code $(BRACKET)") endif # Enable debug printf