summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/crypto.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index 781182bd43..66f6e0cdbd 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -278,7 +278,7 @@ endef
define KernelPackage/crypto-misc/2.6
FILES+= \
$(LINUX_DIR)/crypto/camellia.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/crypto/crc32c.$(LINUX_KMOD_SUFFIX) \
+ $(if $(findstring y,$(CONFIG_CRYPTO_CRC32C)),,$(LINUX_DIR)/crypto/crc32c.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/crypto/fcrypt.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/crypto/tgr192.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/crypto/twofish_common.$(LINUX_KMOD_SUFFIX)