diff options
author | Tim Harvey <tharvey@gateworks.com> | 2020-03-06 14:08:51 -0800 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-03-08 15:10:55 +0100 |
commit | 1ff8054092668c889c50ad98b66d5bbca7702173 (patch) | |
tree | 33828c63402a85db6dba6744b0411a89bb236081 /package/kernel/linux | |
parent | 9405fb079bccb0a736f8fd187f4dd5a3c26723ec (diff) | |
download | upstream-1ff8054092668c889c50ad98b66d5bbca7702173.tar.gz upstream-1ff8054092668c889c50ad98b66d5bbca7702173.tar.bz2 upstream-1ff8054092668c889c50ad98b66d5bbca7702173.zip |
kernel: fix lib-xor for ARM64
use LINUX_KARCH in directory path to avoid failures in non-arm targets.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r-- | package/kernel/linux/modules/lib.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk index ea29d08b55..e14c6b31c0 100644 --- a/package/kernel/linux/modules/lib.mk +++ b/package/kernel/linux/modules/lib.mk @@ -187,10 +187,10 @@ define KernelPackage/lib-xor TITLE:=XOR blocks algorithm support HIDDEN:=1 KCONFIG:=CONFIG_XOR_BLOCKS -ifneq ($(wildcard $(LINUX_DIR)/arch/arm/lib/xor-neon.ko),) +ifneq ($(wildcard $(LINUX_DIR)/arch/$(LINUX_KARCH)/lib/xor-neon.ko),) FILES:= \ $(LINUX_DIR)/crypto/xor.ko \ - $(LINUX_DIR)/arch/arm/lib/xor-neon.ko + $(LINUX_DIR)/arch/$(LINUX_KARCH)/lib/xor-neon.ko AUTOLOAD:=$(call AutoProbe,xor-neon xor) else FILES:=$(LINUX_DIR)/crypto/xor.ko |