aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/crypto/Makefile
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-10-11 11:11:46 +0200
committerThomas Gleixner <tglx@linutronix.de>2007-10-11 11:11:46 +0200
commitb673187cba8a5bcd28455b8540d8542df1d85d9b (patch)
treef3cfbd4c07d8fbc4106d6cbdc70a37ba18a9ff2b /arch/i386/crypto/Makefile
parente980b6d9dee73e879e9c4731d0ef8a3c9d44e6ed (diff)
downloadkernel_samsung_smdk4412-b673187cba8a5bcd28455b8540d8542df1d85d9b.zip
kernel_samsung_smdk4412-b673187cba8a5bcd28455b8540d8542df1d85d9b.tar.gz
kernel_samsung_smdk4412-b673187cba8a5bcd28455b8540d8542df1d85d9b.tar.bz2
i386: prepare shared crypto/Makefile
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/i386/crypto/Makefile')
-rw-r--r--arch/i386/crypto/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/arch/i386/crypto/Makefile b/arch/i386/crypto/Makefile
index 7154b14..fbd34ac 100644
--- a/arch/i386/crypto/Makefile
+++ b/arch/i386/crypto/Makefile
@@ -1,12 +1,5 @@
-#
-# i386/crypto/Makefile
-#
-# Arch-specific CryptoAPI modules.
-#
-
-obj-$(CONFIG_CRYPTO_AES_586) += aes-i586.o
-obj-$(CONFIG_CRYPTO_TWOFISH_586) += twofish-i586.o
-
-aes-i586-y := aes-i586-asm_32.o aes_32.o
-twofish-i586-y := twofish-i586-asm_32.o twofish_32.o
-
+ifeq ($(CONFIG_X86_32),y)
+include ${srctree}/arch/i386/crypto/Makefile_32
+else
+include ${srctree}/arch/x86_64/crypto/Makefile_64
+endif