aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2010-03-21 14:07:30 +0000
committerHauke Mehrtens <hauke@openwrt.org>2010-03-21 14:07:30 +0000
commitfb5528614d3795b6fa7b3fade36570c833a3bc7a (patch)
treeb39b869cd50db542f7c9c1cd4c6da0a61b857011 /package/kernel
parent08c8f6524edf8041750075c5a7fbaedf5147a547 (diff)
downloadupstream-fb5528614d3795b6fa7b3fade36570c833a3bc7a.tar.gz
upstream-fb5528614d3795b6fa7b3fade36570c833a3bc7a.tar.bz2
upstream-fb5528614d3795b6fa7b3fade36570c833a3bc7a.zip
kernel: include aes-i586 and twofish-i586 into crypto packages for x86
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20343 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/crypto.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index a068964c3f..0e161fea09 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -149,7 +149,7 @@ $(call KernelPackage/crypto/Depends,)
AUTOLOAD:=$(call AutoLoad,09,aes$(AES_SUFFIX))
endef
-define KernelPackage/crypto-aes/x86-2.6
+define KernelPackage/crypto-aes/x86
FILES+=$(LINUX_DIR)/arch/x86/crypto/aes-i586.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,09,aes$(AES_SUFFIX) aes-i586)
endef
@@ -252,6 +252,7 @@ $(call KernelPackage/crypto/Depends,)
CONFIG_CRYPTO_TEA \
CONFIG_CRYPTO_TGR192 \
CONFIG_CRYPTO_TWOFISH \
+ CONFIG_CRYPTO_TWOFISH_COMMON \
CONFIG_CRYPTO_TWOFISH_586 \
CONFIG_CRYPTO_WP512
FILES:= \
@@ -266,6 +267,7 @@ $(call KernelPackage/crypto/Depends,)
$(LINUX_DIR)/crypto/sha512$(SHA512_SUFFIX).$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/crypto/tea.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/crypto/twofish.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/crypto/twofish_common.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/crypto/wp512.$(LINUX_KMOD_SUFFIX)
endef
@@ -277,6 +279,10 @@ define KernelPackage/crypto-misc/2.6
$(LINUX_DIR)/crypto/tgr192.$(LINUX_KMOD_SUFFIX)
endef
+define KernelPackage/crypto-misc/x86
+ FILES+=$(LINUX_DIR)/arch/x86/crypto/twofish-i586.$(LINUX_KMOD_SUFFIX)
+endef
+
$(eval $(call KernelPackage,crypto-misc))