aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-25 17:44:53 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-29 01:23:24 +0200
commit89fa3d0d0c501208516751e6c7c604523c96456c (patch)
tree9d11e8f05d175547d08a68ec799c4c23c0bd1d42 /src/crypto
parenttimers: add jitter on ack failure reinitiation (diff)
downloadwireguard-monolithic-historical-89fa3d0d0c501208516751e6c7c604523c96456c.tar.xz
wireguard-monolithic-historical-89fa3d0d0c501208516751e6c7c604523c96456c.zip
kbuild: account for recent upstream changes
Apparently cdd750bfb1f76fe9be8cfb53cbe77b2e811081ab changed things, so we fall back onto this hack. Reported-by: Alex Xu <alex@alxu.ca>
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/Kbuild.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/Kbuild.include b/src/crypto/Kbuild.include
index 460684d..f2a312e 100644
--- a/src/crypto/Kbuild.include
+++ b/src/crypto/Kbuild.include
@@ -48,7 +48,7 @@ targets := $(patsubst $(kbuild-dir)/%.pl,%.S,$(wildcard $(patsubst %.o,$(kbuild-
.SECONDARY:
wireguard-y += $(addprefix crypto/zinc/,$(zinc-y))
-ccflags-y += -I$(src)/crypto/include
+ccflags-y += -I$(kbuild-dir)/crypto/include
ccflags-$(CONFIG_ZINC_ARCH_X86_64) += -DCONFIG_ZINC_ARCH_X86_64
ccflags-$(CONFIG_ZINC_ARCH_ARM) += -DCONFIG_ZINC_ARCH_ARM
ccflags-$(CONFIG_ZINC_ARCH_ARM64) += -DCONFIG_ZINC_ARCH_ARM64