From: hauke Date: Fri, 2 May 2014 22:56:33 +0000 (+0000) Subject: kernel: fix dependency to xor-neon.ko X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=312bbb2ff0fe3ebe455bd5542398615f1be9b42a;p=openwrt.git kernel: fix dependency to xor-neon.ko If this module gets build the xor module depends on it Signed-off-by: Hauke Mehrtens git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40666 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk index af536270f6..cd919ba62e 100644 --- a/package/kernel/linux/modules/lib.mk +++ b/package/kernel/linux/modules/lib.mk @@ -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