Commit 1b1595cd authored by Masahiro Yamada's avatar Masahiro Yamada

kbuild: simplify cmd_ld_multi_m

$(patsubst %.o,%.mod,$@) can be replaced with $<.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 72d09184
......@@ -425,7 +425,7 @@ $(obj)/lib.a: $(lib-y) FORCE
$(call if_changed,ar)
quiet_cmd_ld_multi_m = LD [M] $@
cmd_ld_multi_m = $(LD) $(ld_flags) -r -o $@ @$(patsubst %.o,%.mod,$@) $(cmd_objtool)
cmd_ld_multi_m = $(LD) $(ld_flags) -r -o $@ @$< $(cmd_objtool)
define rule_ld_multi_m
$(call cmd_and_savecmd,ld_multi_m)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment