From patchwork Sun Apr 25 17:57:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 12223463 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07DDBC433B4 for ; Sun, 25 Apr 2021 18:00:07 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BB8EE6103E for ; Sun, 25 Apr 2021 18:00:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BB8EE6103E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KXvonZ6VT2b3jiJMU2c1H2kT0Ie8Y06ZJeG2qVQu4sE=; b=UKibPkmFuPspopafN3KpX3U23 vQNJ/zAbIwOzqgiEsyfz6lwCPCSejKWn/uIDAjl0p5fijQdY4W6teuJdnAUXSu7PI8Hn51I2JWNqN seSqxob9we8MuqkJ2JTCehLHcKlT2zt5HAwnagTomRFexip9b6UO+v4oKs6JCxwYcPKJis1hrfC6t H5I81vm/dfsD2QvOASSJPZZSwGwL/aoso2AZxyYHd5c0pLe8Muk7JEF2cZ5rXF3xhjHwelf7QAxpj xovl6wGp8jCHtPvkYJMFh6w8kIqWjCDJxmXx74wiBSgZnO3jwYsFWkFLj22lRiuGwQ8QYKoISEjo2 +lBuFUcXg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1laj1J-0062yI-TG; Sun, 25 Apr 2021 17:58:14 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1laj18-0062xX-D2 for linux-arm-kernel@desiato.infradead.org; Sun, 25 Apr 2021 17:58:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=WPMOAoetHlwoC77DEFN4ntrJF0d2o3QlqMB4lX6w80Y=; b=QAMMy5B2wGVr56Iz+CilMFJh5U BywiE1GhhgZh9MpCTPa96sg/NNCJplPOfoj4fbPu5jWF/+1/SmSHW2G8TxF/T/WH3r4Q4ym0dWX8N gGqTA/kg8SmPnG/X7k+sXEVjLil8gof9fO6y8H0ZbPzl7z6YVcrrXEDe1kW3zbtWxCoeFWjybU+PP X4/45H0P7ilYsv1eneqKNrJ0MGdX1sD9aFoOTd92WhLU1J1YkL8xveFT6RxLbGhGms37LfLadOpZe mI4XLoZ/RjRoy1p89MVx+v4NIXYeEXKQ/tCb0fvwAg2NLKzMM5gRpMeMhvWwZxlYRexoH4Cw44bxm VIOedptA==; Received: from conuserg-08.nifty.com ([210.131.2.75]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1laj15-00FXSL-Rv for linux-arm-kernel@lists.infradead.org; Sun, 25 Apr 2021 17:58:01 +0000 Received: from localhost.localdomain (133-32-232-101.west.xps.vectant.ne.jp [133.32.232.101]) (authenticated) by conuserg-08.nifty.com with ESMTP id 13PHvbLV030691; Mon, 26 Apr 2021 02:57:40 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com 13PHvbLV030691 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1619373460; bh=WPMOAoetHlwoC77DEFN4ntrJF0d2o3QlqMB4lX6w80Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yXej5X7WPmbCm/83/+2lzCQeh8tYn71hXSnL1bcHlvM7I9c/cErIXneg6Dzq6oLz8 XEpriLl3qdwyNMAKuLnBfe2uvkytSW0opskUGhoWUJFmu6JTdd1x+fhVLe2jn3DlGd 6Ya6Q64AFvknRo1yaa5WU5J6PrHCx7bv4+u244Ptv7haSzlmXO5x+6Gpu0zVGLQuIO 7Ijd+m2BuiL/I04XYnpBrOoVQetdNPBaekURgmERTs4mNsJiUYK0WlMX3y5jO2i97S k9WMImPaQo3LFuvSW7PODAEG6haCAQLU88t/VkfB3SFupl5F8sjHjrut1Qqr0aYcgU 1A4kgwO01TSyg== X-Nifty-SrcIP: [133.32.232.101] From: Masahiro Yamada To: Herbert Xu , "David S . Miller" , linux-crypto@vger.kernel.org Cc: Masahiro Yamada , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] crypto: arm64: use a pattern rule for generating *.S files Date: Mon, 26 Apr 2021 02:57:34 +0900 Message-Id: <20210425175734.1310191-4-masahiroy@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210425175734.1310191-1-masahiroy@kernel.org> References: <20210425175734.1310191-1-masahiroy@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210425_105800_144922_3B590002 X-CRM114-Status: UNSURE ( 8.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Unify similar build rules. sha256-core.S opts out it because it is generated from sha512-armv8.pl. Signed-off-by: Masahiro Yamada --- arch/arm64/crypto/Makefile | 5 +---- 1 file changed, 1 insertion(+), 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