diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-12 17:01:34 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-19 08:40:27 +0900 |
commit | f60b992e30ffef82fd6cd317c6fba3ccaacbe921 (patch) | |
tree | 1f5ff5a98e0f874c0a9018a2d8045e206897254f /scripts | |
parent | ec33408a2279b7c72fc09eb4c7fba805e3ec5afe (diff) | |
download | linux-f60b992e30ffef82fd6cd317c6fba3ccaacbe921.tar.gz linux-f60b992e30ffef82fd6cd317c6fba3ccaacbe921.tar.bz2 linux-f60b992e30ffef82fd6cd317c6fba3ccaacbe921.zip |
kbuild: replace $(LDFLAGS) $(ldflags-y) with $(ld_flags)
$(LDFLAGS) $(ldflags-y) is equivalent to $(ld_flags).
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.lib | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 1bb594fcfe12..19155748063b 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 # --------------------------------------------------------------------------- |