From f158f347e5b211f3a2a7b723b9509bd62950a095 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Fri, 1 May 2020 00:13:56 +0200 Subject: [PATCH] reveng Makefile: allow to skip test (e.g. for cross-compilation) --- client/deps/reveng/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/deps/reveng/Makefile b/client/deps/reveng/Makefile index 1794b0bdb..0dbfa6007 100644 --- a/client/deps/reveng/Makefile +++ b/client/deps/reveng/Makefile @@ -22,6 +22,7 @@ MYCLEANOLDPATH = ../../reveng include ../../../Makefile.host +ifneq ($(SKIPREVENGTEST),1) CLEAN += bmptst $(BINDIR)/$(LIB_A): $(BINDIR)/bmptst @@ -31,5 +32,6 @@ $(BINDIR)/bmptst: bmpbit.c config.h reveng.h $(Q)$(CC) $(CFLAGS) -DBMPTST -o $@ $< $(info [=] TEST $@) $(Q)( ./$@ && $(TOUCH) $@ ) || ( $(RM) $@ && $(FALSE) ) +endif .PHONY: all clean