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: 10521167 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F06CF602C8 for ; Thu, 12 Jul 2018 08:03:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C83E5205F6 for ; Thu, 12 Jul 2018 08:03:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA181294AB; Thu, 12 Jul 2018 08:03:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 70248205F6 for ; Thu, 12 Jul 2018 08:03:15 +0000 (UTC) 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=WtHBNCbmy7LmOT/uU4CYCfot64RO3rAbrvltE5TCOao=; b=p4LAXbxyKsVkGULk+z8r9XJxGW cZIrJJrHX12OQwRrhFlSiDs8rsGYGzxVI39Hyj6wpnYb3QnF6p6hbe5BSREez8Z9IwhQdtrqR9/Er QVWSdmsrZz44WhxtuRYUe41dBQ2LjcsxeBp+qLsuoKK+B5x/V4H1eEFO/wC7RNWyFccFPuqHoTqxf VOuYdPI9LYKNSRePHU98H69DcAJaKsVoCSS6saNDTcNkqVBZHbFHjGfFNbp7wncDzqhmeLs1+Ngzj zI6VQ+cJnIsq6EfMOSAWJJ46uhLFeF5F5iFy+kLU9WAeSQMjtB5PAeKbiwlkkEwtGXFloHgK+vPLC CKX4V3Lw==; 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 1fdWZB-0001ap-QC; Thu, 12 Jul 2018 08:03:09 +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-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP $(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 # ---------------------------------------------------------------------------