aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/Kbuild
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-05-30 15:32:24 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-05-31 05:35:34 +0200
commitb0f08364ed514510f103d4677d5ca2e183849ef3 (patch)
tree1f2625a9fb04ff8f58a9fbdc8adb0d55c1d8de58 /src/Kbuild
parentcurve25519: align the basepoint to 32 bytes (diff)
downloadwireguard-monolithic-historical-b0f08364ed514510f103d4677d5ca2e183849ef3.tar.xz
wireguard-monolithic-historical-b0f08364ed514510f103d4677d5ca2e183849ef3.zip
curve25519: add NEON versions for ARM
Diffstat (limited to 'src/Kbuild')
-rw-r--r--src/Kbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Kbuild b/src/Kbuild
index 76687df..b03b29c 100644
--- a/src/Kbuild
+++ b/src/Kbuild
@@ -18,10 +18,10 @@ ifeq ($(CONFIG_X86_64),y)
endif
ifeq ($(CONFIG_ARM64),y)
- wireguard-y += crypto/chacha20-neon-arm64.o
+ wireguard-$(CONFIG_KERNEL_MODE_NEON) += crypto/chacha20-neon-arm64.o
endif
ifeq ($(CONFIG_ARM),y)
- wireguard-y += crypto/chacha20-neon-arm.o
+ wireguard-$(CONFIG_KERNEL_MODE_NEON) += crypto/chacha20-neon-arm.o crypto/curve25519-neon-arm.o
endif
ifneq ($(KBUILD_EXTMOD),)