From: Shane Peelar Date: Fri, 24 Mar 2017 14:44:24 +0000 (-0400) Subject: kernel: Add kmod-crypto-crc32 (crc32_generic.ko) X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=89765693a0808a1a57b17f8faac7510a9dccb509;p=openwrt%2Fstaging%2Fzorun.git 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 --- 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