[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210425175734.1310191-2-masahiroy@kernel.org>
Date: Mon, 26 Apr 2021 02:57:32 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Herbert Xu <herbert@...dor.apana.org.au>,
"David S . Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org
Cc: Masahiro Yamada <masahiroy@...nel.org>,
Russell King <linux@...linux.org.uk>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH 2/4] crypto: arm: use a pattern rule for generating *.S files
Unify similar build rules.
Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
---
arch/arm/crypto/Makefile | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/arm/crypto/Makefile b/arch/arm/crypto/Makefile
index 51f160c61740..eafa898ba6a7 100644
--- a/arch/arm/crypto/Makefile
+++ b/arch/arm/crypto/Makefile
@@ -48,13 +48,7 @@ curve25519-neon-y := curve25519-core.o curve25519-glue.o
quiet_cmd_perl = PERL $@
cmd_perl = $(PERL) $(<) > $(@)
-$(obj)/poly1305-core.S: $(src)/poly1305-armv4.pl
- $(call cmd,perl)
-
-$(obj)/sha256-core.S: $(src)/sha256-armv4.pl
- $(call cmd,perl)
-
-$(obj)/sha512-core.S: $(src)/sha512-armv4.pl
+$(obj)/%-core.S: $(src)/%-armv4.pl
$(call cmd,perl)
clean-files += poly1305-core.S sha256-core.S sha512-core.S
--
2.27.0
Powered by blists - more mailing lists