summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-03 17:16:37 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-03 22:52:06 +0200
commit11fe035b77f233a8ee5add41a9e500af948d47e9 (patch)
tree9ab25587cd369722571f0dc1e049482163e86648 /src
parent113faae1721bf918cb6993e13752063f73f0b173 (diff)
Makefile: add non-verbose mode to tools
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index fca65d2..d47473e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -7,7 +7,7 @@ DKMSDIR ?= $(SRCDIR)/wireguard
PWD := $(shell pwd)
all: module tools
-debug: module-debug tools
+debug: module-debug tools-debug
version.h:
@export GIT_CEILING_DIRECTORIES="$$(readlink -f ../..)" && \
@@ -58,6 +58,9 @@ dkms-install: $(DKMS_TOP_LEVEL) $(DKMS_SELFTEST_LEVEL) $(DKMS_CRYPTO_LEVEL) $(DK
tools:
$(MAKE) -C tools
+tools-debug:
+ $(MAKE) -C tools V=1 DEBUG_TOOLS=y
+
check:
$(MAKE) -C $(KERNELDIR) M=$(PWD) C=2 CF="-D__CHECK_ENDIAN__" CONFIG_WIREGUARD_DEBUG=y
$(MAKE) -C tools check