aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-10-11 05:11:46 -0400
committerThomas Gleixner <tglx@linutronix.de>2007-10-11 05:11:46 -0400
commitb673187cba8a5bcd28455b8540d8542df1d85d9b (patch)
treef3cfbd4c07d8fbc4106d6cbdc70a37ba18a9ff2b
parente980b6d9dee73e879e9c4731d0ef8a3c9d44e6ed (diff)
i386: prepare shared crypto/Makefile
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/i386/crypto/Makefile17
-rw-r--r--arch/i386/crypto/Makefile_3212
2 files changed, 17 insertions, 12 deletions
diff --git a/arch/i386/crypto/Makefile b/arch/i386/crypto/Makefile
index 7154b14cd950..fbd34ac2cda2 100644
--- a/arch/i386/crypto/Makefile
+++ b/arch/i386/crypto/Makefile
@@ -1,12 +1,5 @@
1# 1ifeq ($(CONFIG_X86_32),y)
2# i386/crypto/Makefile 2include ${srctree}/arch/i386/crypto/Makefile_32
3# 3else
4# Arch-specific CryptoAPI modules. 4include ${srctree}/arch/x86_64/crypto/Makefile_64
5# 5endif
6
7obj-$(CONFIG_CRYPTO_AES_586) += aes-i586.o
8obj-$(CONFIG_CRYPTO_TWOFISH_586) += twofish-i586.o
9
10aes-i586-y := aes-i586-asm_32.o aes_32.o
11twofish-i586-y := twofish-i586-asm_32.o twofish_32.o
12
diff --git a/arch/i386/crypto/Makefile_32 b/arch/i386/crypto/Makefile_32
new file mode 100644
index 000000000000..7154b14cd950
--- /dev/null
+++ b/arch/i386/crypto/Makefile_32
@@ -0,0 +1,12 @@
1#
2# i386/crypto/Makefile
3#
4# Arch-specific CryptoAPI modules.
5#
6
7obj-$(CONFIG_CRYPTO_AES_586) += aes-i586.o
8obj-$(CONFIG_CRYPTO_TWOFISH_586) += twofish-i586.o
9
10aes-i586-y := aes-i586-asm_32.o aes_32.o
11twofish-i586-y := twofish-i586-asm_32.o twofish_32.o
12