diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2011-04-09 23:30:09 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2011-04-09 23:30:09 +0000 |
commit | 1c0e72203a587592e15f16fd3be5a8dea30dcf0a (patch) | |
tree | be96d64dcb069aed1dfd235452d930641dfc0b78 /package/kernel/modules | |
parent | 962f7f519fa96a0a702dad6c0078226c308dfc3a (diff) | |
download | upstream-1c0e72203a587592e15f16fd3be5a8dea30dcf0a.tar.gz upstream-1c0e72203a587592e15f16fd3be5a8dea30dcf0a.tar.bz2 upstream-1c0e72203a587592e15f16fd3be5a8dea30dcf0a.zip |
crypto: The if statement for twofish did not work, deflate depends on zlib_deflate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26569 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules')
-rw-r--r-- | package/kernel/modules/crypto.mk | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index 467db8ee23..0a843f8669 100644 --- a/package/kernel/modules/crypto.mk +++ b/package/kernel/modules/crypto.mk @@ -215,9 +215,11 @@ $(eval $(call KernelPackage,crypto-des)) define KernelPackage/crypto-deflate TITLE:=Deflate compression CryptoAPI module - KCONFIG:=CONFIG_CRYPTO_DEFLATE - FILES:=$(LINUX_DIR)/crypto/deflate.ko - AUTOLOAD:=$(call AutoLoad,09,deflate) + KCONFIG:=CONFIG_ZLIB_DEFLATE \ + CONFIG_CRYPTO_DEFLATE + FILES:=$(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko \ + $(LINUX_DIR)/crypto/deflate.ko + AUTOLOAD:=$(call AutoLoad,09,zlib_deflate deflate) $(call AddDepends/crypto) endef @@ -317,9 +319,12 @@ define KernelPackage/crypto-misc $(LINUX_DIR)/crypto/sha256$(SHA256_SUFFIX).ko \ $(LINUX_DIR)/crypto/sha512$(SHA512_SUFFIX).ko \ $(LINUX_DIR)/crypto/tea.ko \ - $(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,2.6.35)),,$(LINUX_DIR)/crypto/twofish.ko) \ - $(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.36)),,$(LINUX_DIR)/crypto/twofish_generic.ko) \ $(LINUX_DIR)/crypto/wp512.ko + ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,2.6.35)),1) + FILES += $(LINUX_DIR)/crypto/twofish.ko + else + FILES += $(LINUX_DIR)/crypto/twofish_generic.ko + endif $(call AddDepends/crypto) endef |