aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-03-19 20:26:13 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-03-26 02:01:29 +0900
commit127668cf766d0ede207457f9f5f26f5e40ce4127 (patch)
treea053e18bf8ad39e7ea94e3bf3e4e61357d2662b5 /scripts
parent5e18f0290f2eccb0f64e87fbfca6395f11985b4b (diff)
downloadlinux-stericsson-127668cf766d0ede207457f9f5f26f5e40ce4127.tar.gz
kbuild: clean up link rule of composite modules
cmd_link_multi-link is used only for cmd_link_multi-m. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index e5c1aa347554..77cce68c4d63 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)