Author: blogic Date: 2014-11-17 15:30:42 +0100 (Mon, 17 Nov 2014) New Revision: 43291
Modified: trunk/package/kernel/linux/modules/crypto.mk Log: kernel/modules: use crc32c_generic.ko instead of crc32c.ko Starting from kernel version 3.15, the crc32c module was renamed to crc32c_generic. Signed-off-by: Daniel Golle <[email protected]> Modified: trunk/package/kernel/linux/modules/crypto.mk =================================================================== --- trunk/package/kernel/linux/modules/crypto.mk 2014-11-17 14:30:19 UTC (rev 43290) +++ trunk/package/kernel/linux/modules/crypto.mk 2014-11-17 14:30:42 UTC (rev 43291) @@ -299,8 +299,13 @@ TITLE:=CRC32c CRC module DEPENDS:=+kmod-crypto-hash KCONFIG:=CONFIG_CRYPTO_CRC32C +ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.15.0)),1) + FILES:=$(LINUX_DIR)/crypto/crc32c_generic.ko + AUTOLOAD:=$(call AutoLoad,04,crc32c_generic,1) +else FILES:=$(LINUX_DIR)/crypto/crc32c.ko AUTOLOAD:=$(call AutoLoad,04,crc32c,1) +endif $(call AddDepends/crypto) endef _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
