summaryrefslogtreecommitdiffhomepage
path: root/src/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'src/Kbuild')
-rw-r--r--src/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Kbuild b/src/Kbuild
index 549623f..b2fe29a 100644
--- a/src/Kbuild
+++ b/src/Kbuild
@@ -1,6 +1,7 @@
ccflags-y := -O3 -fvisibility=hidden
ccflags-$(CONFIG_WIREGUARD_DEBUG) := -DDEBUG -g
ccflags-y += -Wframe-larger-than=8192
+ccflags-y += -D'pr_fmt(fmt)=KBUILD_MODNAME ": " fmt' -include $(src)/compat.h
wireguard-y := main.o noise.o device.o peer.o timers.o data.o send.o receive.o socket.o config.o hashtables.o routingtable.o ratelimiter.o cookie.o
wireguard-y += crypto/curve25519.o crypto/chacha20poly1305.o crypto/blake2s.o crypto/siphash24.o
ifeq ($(CONFIG_X86_64),y)