aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2011-10-28 13:10:55 +0000
committerNicolas Thill <nico@openwrt.org>2011-10-28 13:10:55 +0000
commitf7a929d4435b8e97f02cc84fa78ca13c1ddd3713 (patch)
treeb65acf847c683996ec889d9c1b3908b0f465252a /package/kernel
parenteaa595d6ac14918dbeafc1d489f9312110276498 (diff)
downloadupstream-f7a929d4435b8e97f02cc84fa78ca13c1ddd3713.tar.gz
upstream-f7a929d4435b8e97f02cc84fa78ca13c1ddd3713.tar.bz2
upstream-f7a929d4435b8e97f02cc84fa78ca13c1ddd3713.zip
package/kernel: move crc32c in its own package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28651 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/crypto.mk13
1 files changed, 11 insertions, 2 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index fc4865f6ad..01fb8c8a21 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -237,6 +237,17 @@ endef
$(eval $(call KernelPackage,crypto-cbc))
+define KernelPackage/crypto-crc32c
+ TITLE:=CRC32c CRC module
+ DEPENDS:=+kmod-crypto-hash
+ KCONFIG:=CONFIG_CRYPTO_CRC32C
+ FILES:=$(LINUX_DIR)/crypto/crc32c.ko
+ AUTOLOAD:=$(call AutoLoad,04,crc32c,1)
+ $(call AddDepends/crypto)
+endef
+
+$(eval $(call KernelPackage,crypto-crc32c))
+
define KernelPackage/crypto-des
TITLE:=DES/3DES cipher CryptoAPI module
KCONFIG:=CONFIG_CRYPTO_DES
@@ -328,7 +339,6 @@ define KernelPackage/crypto-misc
CONFIG_CRYPTO_CAMELLIA \
CONFIG_CRYPTO_CAST5 \
CONFIG_CRYPTO_CAST6 \
- CONFIG_CRYPTO_CRC32C \
CONFIG_CRYPTO_FCRYPT \
CONFIG_CRYPTO_KHAZAD \
CONFIG_CRYPTO_MD4 \
@@ -347,7 +357,6 @@ define KernelPackage/crypto-misc
$(LINUX_DIR)/crypto/camellia.ko \
$(LINUX_DIR)/crypto/cast5.ko \
$(LINUX_DIR)/crypto/cast6.ko \
- $(if $(findstring y,$(CONFIG_CRYPTO_CRC32C)),,$(LINUX_DIR)/crypto/crc32c.ko) \
$(LINUX_DIR)/crypto/fcrypt.ko \
$(LINUX_DIR)/crypto/khazad.ko \
$(LINUX_DIR)/crypto/md4.ko \