aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat/Kbuild.include
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-03-16 19:38:59 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-03-19 23:11:31 +0100
commit74957884685c3c3df9ef9540d2ff517017497a89 (patch)
tree271fcd34a9b21471420f957249ff67cb5963b318 /src/compat/Kbuild.include
parentconfig: satisfy sparse (diff)
downloadwireguard-monolithic-historical-74957884685c3c3df9ef9540d2ff517017497a89.tar.xz
wireguard-monolithic-historical-74957884685c3c3df9ef9540d2ff517017497a89.zip
blake2s: add AVX implementation
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 905e268..769477c 100644
--- a/src/compat/Kbuild.include
+++ b/src/compat/Kbuild.include
@@ -9,3 +9,7 @@ ifeq ($(wildcard $(srctree)/include/net/dst_cache.h),)
ccflags-y += -I$(src)/compat/dst_cache/include
wireguard-y += compat/dst_cache/dst_cache.o
endif
+
+ifeq ($(wildcard $(srctree)/arch/x86/include/asm/fpu/api.h),)
+ccflags-y += -I$(src)/compat/i387/include
+endif