Explorar el Código

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 <[email protected]>
Shane Peelar hace 9 años
padre
commit
89765693a0
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  1. 11 0
      package/kernel/linux/modules/crypto.mk

+ 11 - 0
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/[email protected]
+  AUTOLOAD:=$(call AutoLoad,04,[email protected],1)
+  $(call AddDepends/crypto)
+endef
+
+$(eval $(call KernelPackage,crypto-crc32))
 
 define KernelPackage/crypto-des
   TITLE:=DES/3DES cipher CryptoAPI module