kernel: fix dependency to xor-neon.ko

If this module gets build the xor module depends on it

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40666
This commit is contained in:
Hauke Mehrtens 2014-05-02 22:56:33 +00:00
parent 973c9a0f5b
commit ecb5c610be

View file

@ -138,8 +138,15 @@ 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),)
FILES:= \
$(LINUX_DIR)/crypto/xor.ko \
$(LINUX_DIR)/arch/arm/lib/xor-neon.ko
AUTOLOAD:=$(call AutoProbe,xor-neon xor)
else
FILES:=$(LINUX_DIR)/crypto/xor.ko
AUTOLOAD:=$(call AutoProbe,xor)
endif
endef
define KernelPackage/lib-xor/description