summaryrefslogtreecommitdiff
path: root/arch/arm64/crypto/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-04-25 20:57:34 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-05-14 14:07:54 +0300
commit2063257d4b2472e8f113527c642e467914bb82d3 (patch)
treec26524771d3bb74ded52c657728d03eb6680065e /arch/arm64/crypto/Makefile
parent12dd461ebd1941afe821539419685ff9dea3a31d (diff)
downloadlinux-2063257d4b2472e8f113527c642e467914bb82d3.tar.xz
crypto: arm64 - use a pattern rule for generating *.S files
Unify similar build rules. sha256-core.S opts out it because it is generated from sha512-armv8.pl. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64/crypto/Makefile')
-rw-r--r--arch/arm64/crypto/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm64/crypto/Makefile b/arch/arm64/crypto/Makefile
index 592e52a08c62..09a805cc32d7 100644
--- a/arch/arm64/crypto/Makefile
+++ b/arch/arm64/crypto/Makefile
@@ -71,13 +71,10 @@ $(obj)/aes-glue-%.o: $(src)/aes-glue.c FORCE
quiet_cmd_perlasm = PERLASM $@
cmd_perlasm = $(PERL) $(<) void $(@)
-$(obj)/poly1305-core.S: $(src)/poly1305-armv8.pl
+$(obj)/%-core.S: $(src)/%-armv8.pl
$(call cmd,perlasm)
$(obj)/sha256-core.S: $(src)/sha512-armv8.pl
$(call cmd,perlasm)
-$(obj)/sha512-core.S: $(src)/sha512-armv8.pl
- $(call cmd,perlasm)
-
clean-files += poly1305-core.S sha256-core.S sha512-core.S