David McCullough | f0be44f | 2012-09-07 04:17:02 +0800 | [diff] [blame] | 1 | # |
| 2 | # Arch-specific CryptoAPI modules. |
| 3 | # |
| 4 | |
| 5 | obj-$(CONFIG_CRYPTO_AES_ARM) += aes-arm.o |
Ard Biesheuvel | e4e7f10 | 2013-09-16 18:31:38 +0200 | [diff] [blame^] | 6 | obj-$(CONFIG_CRYPTO_AES_ARM_BS) += aes-arm-bs.o |
David McCullough | f0be44f | 2012-09-07 04:17:02 +0800 | [diff] [blame] | 7 | obj-$(CONFIG_CRYPTO_SHA1_ARM) += sha1-arm.o |
| 8 | |
Ard Biesheuvel | e4e7f10 | 2013-09-16 18:31:38 +0200 | [diff] [blame^] | 9 | aes-arm-y := aes-armv4.o aes_glue.o |
| 10 | aes-arm-bs-y := aesbs-core.o aesbs-glue.o |
| 11 | sha1-arm-y := sha1-armv4-large.o sha1_glue.o |
| 12 | |
| 13 | quiet_cmd_perl = PERL $@ |
| 14 | cmd_perl = $(PERL) $(<) > $(@) |
| 15 | |
| 16 | $(src)/aesbs-core.S_shipped: $(src)/bsaes-armv7.pl |
| 17 | $(call cmd,perl) |
| 18 | |
| 19 | .PRECIOUS: $(obj)/aesbs-core.S |