From patchwork Thu Jul 24 16:03:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 34234 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f199.google.com (mail-ig0-f199.google.com [209.85.213.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5F29B235A9 for ; Thu, 24 Jul 2014 16:05:36 +0000 (UTC) Received: by mail-ig0-f199.google.com with SMTP id l13sf10722285iga.6 for ; Thu, 24 Jul 2014 09:05:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=0+w8pfhh6e1fNe8K5qtojDPJWyGkQjtHlDaM6RWq7bE=; b=UyEgcCW/utHP/1dGilH+1xTBLoWOlCBOnPyMllAIlCqfUvA68p7eWRccp7fPY4I+J9 klnU/ezdbrrmHd8tjVIItkkSVnQ7roK9yafX8a3zMYJkc0z6JoPmr+xGJ9BmSibiTAdZ x30702wmjtRweQmqIWf4sxNId7t+IxTIbGSfPlaLsR5z5+XP8/pDARSaEYWuJatL3PKV rvLxdAAHYBRk6VD4sMPnThpqmbbAcRzQDjl86h4Njkxj2aqJciT/ek4g2W8u1zyva97j 8jNE7lDpuA9k3NZbFEwhFM5Aali4DwfMPZOo+4R/8fVK1XLr9lQskQ2FzCrgiDuniZ9c cXnA== X-Gm-Message-State: ALoCoQle32HyzAUYQNZvlKuXaemPkbuQ1IDSUc5MhIdGWAjBoiOP7tA9WD368UaaHYup/WW+ED1d X-Received: by 10.182.111.170 with SMTP id ij10mr4472813obb.6.1406217935841; Thu, 24 Jul 2014 09:05:35 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.25.144 with SMTP id 16ls796408qgt.45.gmail; Thu, 24 Jul 2014 09:05:35 -0700 (PDT) X-Received: by 10.236.82.147 with SMTP id o19mr14193304yhe.112.1406217935672; Thu, 24 Jul 2014 09:05:35 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id n56si18528920yhb.18.2014.07.24.09.05.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Jul 2014 09:05:35 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id lf12so5385596vcb.1 for ; Thu, 24 Jul 2014 09:05:35 -0700 (PDT) X-Received: by 10.220.50.8 with SMTP id x8mr13393660vcf.18.1406217934857; Thu, 24 Jul 2014 09:05:34 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp377315vcb; Thu, 24 Jul 2014 09:05:34 -0700 (PDT) X-Received: by 10.68.203.132 with SMTP id kq4mr11951103pbc.12.1406217933916; Thu, 24 Jul 2014 09:05:33 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id zd10si1007841pac.144.2014.07.24.09.05.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jul 2014 09:05:33 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XALV4-0000zZ-Sy; Thu, 24 Jul 2014 16:04:10 +0000 Received: from mail-wi0-f171.google.com ([209.85.212.171]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XALUx-0000ow-Op for linux-arm-kernel@lists.infradead.org; Thu, 24 Jul 2014 16:04:09 +0000 Received: by mail-wi0-f171.google.com with SMTP id hi2so9859495wib.10 for ; Thu, 24 Jul 2014 09:03:37 -0700 (PDT) X-Received: by 10.180.24.34 with SMTP id r2mr14193659wif.46.1406217817427; Thu, 24 Jul 2014 09:03:37 -0700 (PDT) Received: from ards-macbook-pro.local ([31.45.129.19]) by mx.google.com with ESMTPSA id h3sm16998360wjn.10.2014.07.24.09.03.34 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Jul 2014 09:03:36 -0700 (PDT) From: Ard Biesheuvel To: catalin.marinas@arm.com Subject: [PATCH] arm64/crypto: fix makefile rule for aes-glue-%.o Date: Thu, 24 Jul 2014 18:03:26 +0200 Message-Id: <1406217806-15538-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.8.3.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140724_090403_953005_D902784C X-CRM114-Status: GOOD ( 10.07 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.171 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.212.171 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Andreas Schwab , will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, Ard Biesheuvel X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ard.biesheuvel@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Andreas Schwab This fixes the following build failure when building with CONFIG_MODVERSIONS enabled: CC [M] arch/arm64/crypto/aes-glue-ce.o ld: cannot find arch/arm64/crypto/aes-glue-ce.o: No such file or directory make[1]: *** [arch/arm64/crypto/aes-ce-blk.o] Error 1 make: *** [arch/arm64/crypto] Error 2 The $(obj)/aes-glue-%.o rule only creates $(obj)/.tmp_aes-glue-ce.o, it should use if_changed_rule instead of if_changed_dep. Signed-off-by: Andreas Schwab [ardb: mention CONFIG_MODVERSIONS in commit log] Signed-off-by: Ard Biesheuvel --- Catalin, Could you take this for 3.17 please? It fixes a build error when building aes-ce-blk and/or aes-neon-blk as modules with CONFIG_MODVERSIONS enabled. Cheers, Ard. arch/arm64/crypto/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/crypto/Makefile b/arch/arm64/crypto/Makefile index 2070a56ecc46..a3f935fde975 100644 --- a/arch/arm64/crypto/Makefile +++ b/arch/arm64/crypto/Makefile @@ -35,4 +35,4 @@ AFLAGS_aes-neon.o := -DINTERLEAVE=4 CFLAGS_aes-glue-ce.o := -DUSE_V8_CRYPTO_EXTENSIONS $(obj)/aes-glue-%.o: $(src)/aes-glue.c FORCE - $(call if_changed_dep,cc_o_c) + $(call if_changed_rule,cc_o_c)