aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/Makefile
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
commitc3010935141fe60eabdd7dac60153af6281bc74c (patch)
tree75c8ca245cb98962a3e5b0af1cbbfa7f76cadcd9 /src/Makefile
parentglobal: add space around variable declarations (diff)
downloadwireguard-monolithic-historical-c3010935141fe60eabdd7dac60153af6281bc74c.tar.xz
wireguard-monolithic-historical-c3010935141fe60eabdd7dac60153af6281bc74c.zip
Makefile: add non-verbose mode to tools
Diffstat (limited to 'src/Makefile')
-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