Makefile 692 字节
Newer Older
1 2 3 4 5
#
# Arch-specific CryptoAPI modules.
#

obj-$(CONFIG_CRYPTO_AES_ARM) += aes-arm.o
6
obj-$(CONFIG_CRYPTO_AES_ARM_BS) += aes-arm-bs.o
7
obj-$(CONFIG_CRYPTO_SHA1_ARM) += sha1-arm.o
8
obj-$(CONFIG_CRYPTO_SHA1_ARM_NEON) += sha1-arm-neon.o
9
obj-$(CONFIG_CRYPTO_SHA512_ARM_NEON) += sha512-arm-neon.o
10

11 12 13
aes-arm-y	:= aes-armv4.o aes_glue.o
aes-arm-bs-y	:= aesbs-core.o aesbs-glue.o
sha1-arm-y	:= sha1-armv4-large.o sha1_glue.o
14
sha1-arm-neon-y	:= sha1-armv7-neon.o sha1_neon_glue.o
15
sha512-arm-neon-y := sha512-armv7-neon.o sha512_neon_glue.o
16 17 18 19 20 21 22 23

quiet_cmd_perl = PERL    $@
      cmd_perl = $(PERL) $(<) > $(@)

$(src)/aesbs-core.S_shipped: $(src)/bsaes-armv7.pl
	$(call cmd,perl)

.PRECIOUS: $(obj)/aesbs-core.S