i386: 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:
@@ -1,12 +1,5 @@
|
|||||||
#
|
ifeq ($(CONFIG_X86_32),y)
|
||||||
# i386/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_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
|
|
||||||
|
|
||||||
|
12
arch/i386/crypto/Makefile_32
Normal file
12
arch/i386/crypto/Makefile_32
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#
|
||||||
|
# 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
|
||||||
|
|
Reference in New Issue
Block a user