[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1531382496-3719-5-git-send-email-yamada.masahiro@socionext.com>
Date: Thu, 12 Jul 2018 17:01:34 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: linux-kbuild@...r.kernel.org
Cc: Richard Weinberger <richard@....at>, x86@...nel.org,
linux-um@...ts.infradead.org, linux-kernel@...r.kernel.org,
Russell King <rmk+kernel@...linux.org.uk>,
openrisc@...ts.librecores.org,
linux-arm-kernel@...ts.infradead.org,
linux-riscv@...ts.infradead.org, Jeff Dike <jdike@...toit.com>,
"Kirill A . Shutemov" <kirill@...temov.name>,
Masahiro Yamada <yamada.masahiro@...ionext.com>
Subject: [PATCH 4/6] kbuild: replace $(LDFLAGS) $(ldflags-y) with $(ld_flags)
$(LDFLAGS) $(ldflags-y) is equivalent to $(ld_flags).
Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
---
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
# ---------------------------------------------------------------------------
--
2.7.4
Powered by blists - more mailing lists