From patchwork Mon Mar 19 11:26:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 132032 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2606896ljb; Mon, 19 Mar 2018 04:27:35 -0700 (PDT) X-Google-Smtp-Source: AG47ELv3FNck0pUR91sk/vfUXdevY9BDLMsoKa6Y7vIFX8FfNIl9sVmLB93kNYkjkdevsCjCUpEn X-Received: by 2002:a17:902:758a:: with SMTP id j10-v6mr3193844pll.271.1521458855745; Mon, 19 Mar 2018 04:27:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521458855; cv=none; d=google.com; s=arc-20160816; b=g7Wzk6ZVoEXTU23l8+REjTLzyf6qzS+cKJHctOtzWxe1AEGLU8F0UhdNCustFTUtp0 Im6EE4qn2Eo8TAoB6YDwu5EAOxzMlp+iuFmqmusUGIebzRzl/qbk69zSILZavyvXV2hk nu1/Ac5zy3DCrLWujfbnFA+bljZ8RjdJwQ3vCTzQf9hqWgZVBGdlTuCIbTFrnRdDAEQ/ Wqar20sciHyUtul6qHgWbAAHHnVpP4H8X227eLn8P4VhqDKcFeJSN8mnSJTepxzZXiFY 3Nb4+8w4hTn5KqTj1xcxcyhYZeV6h5hNvt8vpxae+Vb5SvVyN8DkA3/2mAS9VOYfnjDh 9P7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=B4TnX0GMPFIaLwE8+Yy9avHyyEygbKqSH3rzQdo64ro=; b=JihG7Xe/cZQ314XvmMxCif+DxVvwTwP6UCYZhSlyHIXsnxejdxz3frJ5sAr79khgu7 Tw7lLDKqni+WbPdkF2UkeJl+Vaw8e1SXzWoyzG5Eu7zkjvrhprdGjcXLsDOj8t4MlZmo L2MXOKOvZV0gTxTgtCIQVPH1vzDnmSB6HlHY0ir0V0bx7hIG69P6QLUwFjOAmStJea0C ebEm/V8uIByAqeltpC9Y5r1kvDB9MvnzesJvLOyjH0TCezD4D0VlXwL+XL3ETG86JO6x FC9Ma7jwCegj+IhKUbmOecGGRtMiSpzupIhKJ+pcLhTN3exRcRVoCR3p/szYVg5I4nB7 9Vlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=BGabv3Tv; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s14si7252494pgf.780.2018.03.19.04.27.35; Mon, 19 Mar 2018 04:27:35 -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 header.s=dec2015msa header.b=BGabv3Tv; 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 S933314AbeCSL1c (ORCPT + 28 others); Mon, 19 Mar 2018 07:27:32 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:30277 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932939AbeCSL1T (ORCPT ); Mon, 19 Mar 2018 07:27:19 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id w2JBQHQv023258; Mon, 19 Mar 2018 20:26:24 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w2JBQHQv023258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1521458784; bh=B4TnX0GMPFIaLwE8+Yy9avHyyEygbKqSH3rzQdo64ro=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BGabv3TveRmqIthDRD61kr+g9pYUTo3zs/O/Ohk4lvMkDSfWC1/KYfzNQJ+w0RjsH nWQdtMSh4LQJGoJ5gx8uaivRgXgzmNo+tMioaN7UNA/FbIwq0K6dHtcPStqOtD2Y5N b/3aWWekZL8VUSxKicMtBXcKTkaghsgCIbe0Dz+U+MqSAb4e7qh0/kUzckQYJtHJ0H 70ls0ViHPpfa3ZC4anKWqA1rAaIPiehzQre0Ntd9MR91Y1a8lpGhyQKTqeZGhtio3r uwuj+OqPjH9iNadgz2uEcKVL5YWLCF31ESlnXn2YP0zo27BxHwZ7ywi45SXN0qaV37 RxlwcantTNsqA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Sam Ravnborg , Michal Marek , linux-kernel@vger.kernel.org, Nicholas Piggin , Masahiro Yamada Subject: [PATCH 7/7] kbuild: clean up multi-used module link rule Date: Mon, 19 Mar 2018 20:26:13 +0900 Message-Id: <1521458773-14224-7-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521458773-14224-1-git-send-email-yamada.masahiro@socionext.com> References: <1521458773-14224-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 cmd_link_multi-link is used only for cmd_link_multi-m. Signed-off-by: Masahiro Yamada --- scripts/Makefile.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.7.4 diff --git a/scripts/Makefile.build b/scripts/Makefile.build index e5c1aa3..77cce68 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -526,10 +526,8 @@ $($(subst $(obj)/,,$(@:.o=-objs))) \ $($(subst $(obj)/,,$(@:.o=-y))) \ $($(subst $(obj)/,,$(@:.o=-m)))), $^) -cmd_link_multi-link = $(LD) $(ld_flags) -r -o $@ $(link_multi_deps) $(cmd_secanalysis) - quiet_cmd_link_multi-m = LD [M] $@ -cmd_link_multi-m = $(cmd_link_multi-link) +cmd_link_multi-m = $(LD) $(ld_flags) -r -o $@ $(link_multi_deps) $(cmd_secanalysis) $(multi-used-m): FORCE $(call if_changed,link_multi-m)