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>
This commit is contained in:
parent
9405fb079b
commit
1ff8054092
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user