aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/Kbuild
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-19 00:03:49 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-31 17:25:23 +0100
commit3ea08d8f513c5f9a371f37221775980c1179a867 (patch)
treefc933e337580a444e16c07c584e86b8a8cf06049 /src/Kbuild
parentcrypto/avx: make sure we can actually use ymm registers (diff)
downloadwireguard-monolithic-historical-3ea08d8f513c5f9a371f37221775980c1179a867.tar.xz
wireguard-monolithic-historical-3ea08d8f513c5f9a371f37221775980c1179a867.zip
qemu: allow for cross compilation
Diffstat (limited to 'src/Kbuild')
-rw-r--r--src/Kbuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Kbuild b/src/Kbuild
index 9815a4b..afbe4be 100644
--- a/src/Kbuild
+++ b/src/Kbuild
@@ -21,7 +21,10 @@ ifeq ($(CONFIG_ARM64),y)
wireguard-$(CONFIG_KERNEL_MODE_NEON) += crypto/chacha20-neon-arm64.o
endif
ifeq ($(CONFIG_ARM),y)
- wireguard-$(CONFIG_KERNEL_MODE_NEON) += crypto/chacha20-neon-arm.o crypto/curve25519-neon-arm.o
+ wireguard-$(CONFIG_KERNEL_MODE_NEON) += crypto/chacha20-neon-arm.o
+ ifneq ($(CONFIG_CPU_THUMBONLY),y)
+ wireguard-$(CONFIG_KERNEL_MODE_NEON) += crypto/curve25519-neon-arm.o
+ endif
endif
ifneq ($(KBUILD_EXTMOD),)