summaryrefslogtreecommitdiffhomepage
path: root/src/Kbuild
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-09-29 04:36:14 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-09-29 19:25:30 +0200
commit7dbb44fcbea3bbed2c73919394e22865552b7c0d (patch)
tree09d03a9b211f9f068d25b84f67c8c60d9eb30199 /src/Kbuild
parent0b9dfadd25b60bf2fed43d5b553098ed70028374 (diff)
Rework headers and includes
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
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)