aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorShane Peelar <lookatyouhacker@gmail.com>2017-03-24 10:44:24 -0400
committerJohn Crispin <john@phrozen.org>2017-03-27 08:10:28 +0200
commit89765693a0808a1a57b17f8faac7510a9dccb509 (patch)
tree220e91a83d3b3817b6a11e1dc2e1c1f998b4bada /package/kernel
parent55920643b1e968c37906fc120f63ff1085161b9b (diff)
downloadupstream-89765693a0808a1a57b17f8faac7510a9dccb509.tar.gz
upstream-89765693a0808a1a57b17f8faac7510a9dccb509.tar.bz2
upstream-89765693a0808a1a57b17f8faac7510a9dccb509.zip
kernel: Add kmod-crypto-crc32 (crc32_generic.ko)
This is needed for F2FS support (it depends on crc32_generic, not crc32c_generic). Signed-off-by: Shane Peelar <lookatyouhacker@gmail.com>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/crypto.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index ca18a16058..a89d0b7b7c 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -307,6 +307,17 @@ endef
$(eval $(call KernelPackage,crypto-crc32c))
+define KernelPackage/crypto-crc32
+ TITLE:=CRC32 CRC module
+ DEPENDS:=+kmod-crypto-hash
+ KCONFIG:=CONFIG_CRYPTO_CRC32
+ HIDDEN:=1
+ FILES:=$(LINUX_DIR)/crypto/crc32_generic.ko@ge4.9
+ AUTOLOAD:=$(call AutoLoad,04,crc32_generic@ge4.9,1)
+ $(call AddDepends/crypto)
+endef
+
+$(eval $(call KernelPackage,crypto-crc32))
define KernelPackage/crypto-des
TITLE:=DES/3DES cipher CryptoAPI module