aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat/Kbuild.include
diff options
context:
space:
mode:
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