Skip to content

Commit

Permalink
x86_64: prepare shared crypto/Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Thomas Gleixner committed Oct 11, 2007
1 parent d685249 commit 3900b17
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
17 changes: 5 additions & 12 deletions arch/x86_64/crypto/Makefile
Original file line number Diff line number Diff line change
@@ -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
12 changes: 12 additions & 0 deletions arch/x86_64/crypto/Makefile_64
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#
# 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

0 comments on commit 3900b17

Please sign in to comment.