summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
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