summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/crypto/Makefile
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-10-11 11:14:04 +0200
committerThomas Gleixner <tglx@linutronix.de>2007-10-11 11:14:04 +0200
commit3900b170baf0fa2bfe5ed43592e9acc95521fe0a (patch)
tree6863fb1f46577b75e6b62e52bc4d0d8a9dec0818 /arch/x86_64/crypto/Makefile
parentd685249a33eb729d1dbe7ee54d63cb81fdee53da (diff)
downloadlinux-3900b170baf0fa2bfe5ed43592e9acc95521fe0a.tar.bz2
x86_64: prepare shared crypto/Makefile
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86_64/crypto/Makefile')
-rw-r--r--arch/x86_64/crypto/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/arch/x86_64/crypto/Makefile b/arch/x86_64/crypto/Makefile
index c96faeb842c8..fbd34ac2cda2 100644
--- a/arch/x86_64/crypto/Makefile
+++ b/arch/x86_64/crypto/Makefile
@@ -1,12 +1,5 @@
-#
-# x86_64/crypto/Makefile
-#
-# Arch-specific CryptoAPI modules.
-#
-
-obj-$(CONFIG_CRYPTO_AES_X86_64) += aes-x86_64.o
-obj-$(CONFIG_CRYPTO_TWOFISH_X86_64) += twofish-x86_64.o
-
-aes-x86_64-y := aes-x86_64-asm_64.o aes_64.o
-twofish-x86_64-y := twofish-x86_64-asm_64.o twofish_64.o
-
+ifeq ($(CONFIG_X86_32),y)
+include ${srctree}/arch/i386/crypto/Makefile_32
+else
+include ${srctree}/arch/x86_64/crypto/Makefile_64
+endif