From patchwork Sun Sep 11 07:42:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 75955 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp350438qgf; Sun, 11 Sep 2016 00:45:00 -0700 (PDT) X-Received: by 10.66.193.136 with SMTP id ho8mr3478461pac.73.1473579900778; Sun, 11 Sep 2016 00:45:00 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p64si14465710pfg.128.2016.09.11.00.45.00; Sun, 11 Sep 2016 00:45:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755129AbcIKHoz (ORCPT + 27 others); Sun, 11 Sep 2016 03:44:55 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:50155 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753026AbcIKHov (ORCPT ); Sun, 11 Sep 2016 03:44:51 -0400 X-Greylist: delayed 4487 seconds by postgrey-1.27 at vger.kernel.org; Sun, 11 Sep 2016 03:44:45 EDT Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-11.nifty.com with ESMTP id u8B7gKsx025893; Sun, 11 Sep 2016 16:42:25 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com u8B7gKsx025893 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1473579746; bh=BVzFvsd2EvDWEOtgmAlEPNllhbhkNkzsKlZJlYaBtw8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wUB9t3scVer4tVD4uf7Rqj2dNvy08IO3Axi9oy9H0kQS7EAPn6ZWE2ePGpkolevIH 3cTyd+XN7JjMS/507QzGJqAxmVaws2qcWuMFnhJ065h/SVJNuqzPKjjynS1x1suD/8 LXMuB0VGpMjtyKlbIo8Da8r69lqZKblpTWREwt4kMxZNxYPkW77Yx2Sh9uqvABRFjm fesF6FoEXzMHrXfhnfpWcuN4oUdPp+tXFGoAu5RGmUhwlSWFcSqxYNDP/zjE/67a3X Dv+8vCKScl3MZConnUZojXXkmzwzWUCa+mZ1oyV4iocNjBtciDpumnbb3MAQNWreNx ZVG/0mbtToxNw== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: linux-alpha@vger.kernel.org, Richard Henderson , Ivan Kokshaysky Cc: Masahiro Yamada , linux-kernel@vger.kernel.org, Matt Turner Subject: [PATCH 2/3] alpha: merge build rules of division routines Date: Sun, 11 Sep 2016 16:42:15 +0900 Message-Id: <1473579736-16139-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1473579736-16139-1-git-send-email-yamada.masahiro@socionext.com> References: <1473579736-16139-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These four objects are generated by the same build rule, with different compile options. The build rules can be merged. Signed-off-by: Masahiro Yamada --- arch/alpha/lib/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) -- 1.9.1 diff --git a/arch/alpha/lib/Makefile b/arch/alpha/lib/Makefile index 7b694fe..5f12e9d 100644 --- a/arch/alpha/lib/Makefile +++ b/arch/alpha/lib/Makefile @@ -46,11 +46,6 @@ AFLAGS___remqu.o = -DREM AFLAGS___divlu.o = -DDIV -DINTSIZE AFLAGS___remlu.o = -DREM -DINTSIZE -$(obj)/__divqu.o: $(src)/$(ev6-y)divide.S - $(cmd_as_o_S) -$(obj)/__remqu.o: $(src)/$(ev6-y)divide.S - $(cmd_as_o_S) -$(obj)/__divlu.o: $(src)/$(ev6-y)divide.S - $(cmd_as_o_S) -$(obj)/__remlu.o: $(src)/$(ev6-y)divide.S +$(addprefix $(obj)/,__divqu.o __remqu.o __divlu.o __remlu.o): \ + $(src)/$(ev6-y)divide.S $(cmd_as_o_S)