From: Christian Hesse <m...@eworm.de>

DKMS packages do not contain tests/debug.mk, so do not include if it
does not exist.

Signed-off-by: Christian Hesse <m...@eworm.de>
---
 src/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Makefile b/src/Makefile
index 20947ac..370c2ea 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -36,6 +36,8 @@ check:
 cloc: clean
        cloc $(filter-out compat.h, $(wildcard *.c) $(wildcard *.h))
 
+ifeq ($(wildcard tests/debug.mk),tests/debug.mk)
 include tests/debug.mk
+endif
 
 .PHONY: all module module-debug tools install clean core-cloc check version.h
-- 
2.10.2

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

Reply via email to