From patchwork Sun Apr 25 17:57:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 12223465 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 67E84C433B4 for ; Sun, 25 Apr 2021 18:00:16 +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 2426261221 for ; Sun, 25 Apr 2021 18:00:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2426261221 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=/g9WaRt740/1HJz0dIn6Lo2LM5g3tHl46XEUS1gYUl0=; b=P1/WEJg03uSrY6r86FRNN9HkJ ZnCEphYu7jNVQ65ekFXsSWvN38brjHmY1wAqAHzt2Gu2JFenH2BJzzCwxFf5LS8iut17gYVEfgdFg G90RLVD+zunDWWNaFyND7zye/JLvNJznzMkEdsp+mUE3v/4lPdDGrzmFlyw3lvJyfsXsB3P0YQlPO EjrgMyYS2Ki/P1+s1Lh6aEK9Yqld9UmjXq3j+/uip0D+KdyF/Mrix1xOmtzXru7dOS+TZd6IBAdNf IyZ8cnFwNTEaUYW8k8VlmsLBHqrMz2yTn76lgQL1TU8TXV8pAd1Ix7Wt6hOsSXykeml8G4MCZfNRu uyq0IHqkw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1laj18-0062xW-SS; Sun, 25 Apr 2021 17:58:03 +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 1laj12-0062xD-Dq for linux-arm-kernel@desiato.infradead.org; Sun, 25 Apr 2021 17:57:58 +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=acZHbiFl1BuPwgqBy9eaqf1jnbfxX6j2AfJg+afbRwc=; b=rswMI1WTS53vTG+2hAhjNL0lqJ im74XheON3nZg4UXhgEIAwFhHPwq+CtlThSUmpML+wEWBdAVX+X4USdAsHop1O8yqDBdopcBeDA78 9aajPTHgtBXOfX7y3o58BRAt/m0iLgFxh0Qf7os1y0qILuClFwvIvPW1PrwQ1tTnXGuPrsQAMqmUP Ass0m/LfLs6fdnmnqZM1TlKhw2Geu3OBtB6X9YtHeWSrjlueaK0OZEkFZpFYJBFMwXIsQMpia7HGq riMnWEstG2Ofx2ole9IRoggJgG99d1Pf9Ll3GPBcNAlf35Vb9+TeGpEV7GQuxidu97GbhKpi2HpHM 0UHx9Mbg==; Received: from conuserg-08.nifty.com ([210.131.2.75]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1laj0z-00FXS4-Fl for linux-arm-kernel@lists.infradead.org; Sun, 25 Apr 2021 17:57:55 +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 13PHvbLT030691; Mon, 26 Apr 2021 02:57:38 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com 13PHvbLT030691 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1619373459; bh=acZHbiFl1BuPwgqBy9eaqf1jnbfxX6j2AfJg+afbRwc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GFZyh7aw9NJhnWO3tL3B3YQDCqFbJlXJYXfZ0hkrN9wseNMjr1MQPMZbcPBkGHJz6 fx/pbUhuI0yp4QofMBr65JtyGpI9jmyYbqApMdOqDHvNaQLrBHlK9RDYly6ebhLPRu qCKNTM9X04BHt+pUSTLzl8gdlhivFnqERz1bZ/C8PKskp0kV+taZtQEDJmqI/9ir+Q /JXXvU8cpDE0WwxOwzE4MHmRGnBJGJwwvHeAJmfTzO9rB6BkS1RUR2AQKQGSwuGTAB tQIMzgZxKep8BRwOa5xwvrbYK5WIaEDcqa6Y4lhd75Ut+xNn29cWWMV2XNd8Fn3Zl4 +5LNWSznn4Iyw== X-Nifty-SrcIP: [133.32.232.101] From: Masahiro Yamada To: Herbert Xu , "David S . Miller" , linux-crypto@vger.kernel.org Cc: Masahiro Yamada , Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] crypto: arm: use a pattern rule for generating *.S files Date: Mon, 26 Apr 2021 02:57:32 +0900 Message-Id: <20210425175734.1310191-2-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_105753_881691_1E2C8EFD X-CRM114-Status: UNSURE ( 8.37 ) 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. Signed-off-by: Masahiro Yamada --- 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