From patchwork Thu Jul 12 08:01:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 942845 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ACSZ4/Jq"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="oX++y4sY"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41R80L22vsz9s19 for ; Thu, 12 Jul 2018 18:16:18 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=MfPkPH3rlZk05U6nVAAf7/bQeEBQtfRmcPMWMS39u0s=; b=ACSZ4/JqDP0QaSln3foHn9kfAQ M/cCWpnNsND3oer5pAtulqDi+qp47/8OoIMsljrQWn7u5L3hP1OTUxq8jJbHyUdCiZ6zMxxu6pRCg mWJ1PkMMBDc+wWxJp2TTnlRIcamBsvbD/rulS7HovJRBLI5hJHOptsfs9nPvf3ps1Yh2NtQaZHE/2 h/xR4ZujfpV6xLKFy3m2TDHNUJg9ck9o7sL7JncbvVrtMe0c68REkx2zIMYuogBSR6FU/l0VyYEjt iaHdu7NubkLyH+OdxYF/EAqN0HedPKc8lBxp3bHsnATgAiI/H3F4Ovoyf4enJU2X4uNe/9c3T148G VicaP0Lw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fdWlr-0001ub-NH; Thu, 12 Jul 2018 08:16:15 +0000 Received: from conuserg-12.nifty.com ([210.131.2.79]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fdWYQ-0000cL-3V; Thu, 12 Jul 2018 08:02:25 +0000 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 w6C81cQj012716; Thu, 12 Jul 2018 17:01:44 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w6C81cQj012716 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1531382504; bh=PR1zPWKBmHPFKOICGRPcOVP5bxb/1PLJfA29JpKbpzs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oX++y4sYzpmRliDuKa0z0KZr7X0/v0VoEh3/WBVUUxo5ptYBNGoWmuu2L8C+8Mr8J XI5nkK3kn0ASFhPIcfkTAHcBhS1jPe8ONmAEjrHsWvskx+Vf5ESiS0T4B5xS26NV5b tJaUHMdJOg4PpHySQEr9MPTXICN2YL+gY1nI7wGTD8ltJFK93NAvPmFbjzaCY9X/db m+C1JhoKDXP0zGSjylJcI5m67AMkgQ0BjbnDZh5H8vggf7zsaWWDfB3a10BhUH5s8W 6puTM++YXvdtevxPMTlRkgI9eMP4dlZ08lkfGCngLM9SEj/h0Dx7J/IYazLcvHd2si kRBENwpOPehYA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Subject: [PATCH 4/6] kbuild: replace $(LDFLAGS) $(ldflags-y) with $(ld_flags) Date: Thu, 12 Jul 2018 17:01:34 +0900 Message-Id: <1531382496-3719-5-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531382496-3719-1-git-send-email-yamada.masahiro@socionext.com> References: <1531382496-3719-1-git-send-email-yamada.masahiro@socionext.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180712_010222_534427_3CC0846A X-CRM114-Status: UNSURE ( 7.67 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.0 (+) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (1.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [210.131.2.79 listed in list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Weinberger , Jeff Dike , x86@kernel.org, linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Russell King , openrisc@lists.librecores.org, "Kirill A . Shutemov" , linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org $(LDFLAGS) $(ldflags-y) is equivalent to $(ld_flags). Signed-off-by: Masahiro Yamada --- scripts/Makefile.lib | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 1bb594f..1915574 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -225,8 +225,7 @@ $(obj)/%: $(src)/%_shipped # --------------------------------------------------------------------------- quiet_cmd_ld = LD $@ -cmd_ld = $(LD) $(LDFLAGS) $(ldflags-y) $(LDFLAGS_$(@F)) \ - $(filter-out FORCE,$^) -o $@ +cmd_ld = $(LD) $(ld_flags) $(LDFLAGS_$(@F)) $(filter-out FORCE,$^) -o $@ # Objcopy # ---------------------------------------------------------------------------