summaryrefslogtreecommitdiffhomepage
path: root/src/compat/Kbuild.include
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-09-06 20:55:59 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2018-09-06 21:07:22 -0600
commit2b1d77adecd8a93f4cf3582abd324cf40b4280a1 (patch)
tree1ee8ba794123cdc0329d98688b5e1b4955d959ca /src/compat/Kbuild.include
parent1c896512cb783adfb82930c9ebd0421de245858f (diff)
compat: move simd.h from crypto to compat since it's going upstream
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat/Kbuild.include')
-rw-r--r--src/compat/Kbuild.include4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include
index 04ffdeb..879aa84 100644
--- a/src/compat/Kbuild.include
+++ b/src/compat/Kbuild.include
@@ -37,6 +37,10 @@ ifeq ($(wildcard $(srctree)/arch/x86/include/asm/simd.h)$(CONFIG_X86),y)
ccflags-y += -I$(src)/compat/simd-x86/include
endif
+ifeq ($(wildcard $(srctree)/include/linux/simd.h),)
+ccflags-y += -I$(src)/compat/simd/include
+endif
+
ifeq ($(wildcard $(srctree)/include/net/udp_tunnel.h),)
ccflags-y += -I$(src)/compat/udp_tunnel/include
wireguard-y += compat/udp_tunnel/udp_tunnel.o