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 <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43291 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
822237afe4
commit
a1e3550b37
|
@ -299,8 +299,13 @@ define KernelPackage/crypto-crc32c
|
||||||
TITLE:=CRC32c CRC module
|
TITLE:=CRC32c CRC module
|
||||||
DEPENDS:=+kmod-crypto-hash
|
DEPENDS:=+kmod-crypto-hash
|
||||||
KCONFIG:=CONFIG_CRYPTO_CRC32C
|
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
|
FILES:=$(LINUX_DIR)/crypto/crc32c.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,04,crc32c,1)
|
AUTOLOAD:=$(call AutoLoad,04,crc32c,1)
|
||||||
|
endif
|
||||||
$(call AddDepends/crypto)
|
$(call AddDepends/crypto)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue