x86_64: prepare shared crypto/Makefile
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
d685249a33
commit
3900b170ba
@ -1,12 +1,5 @@
|
|||||||
#
|
ifeq ($(CONFIG_X86_32),y)
|
||||||
# x86_64/crypto/Makefile
|
include ${srctree}/arch/i386/crypto/Makefile_32
|
||||||
#
|
else
|
||||||
# Arch-specific CryptoAPI modules.
|
include ${srctree}/arch/x86_64/crypto/Makefile_64
|
||||||
#
|
endif
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
|
12
arch/x86_64/crypto/Makefile_64
Normal file
12
arch/x86_64/crypto/Makefile_64
Normal file
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user