Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

kbuild: remove append operation on cmd_ld_ko_o

The append operation was introduced in
commit b1a1a1a09b46 ("kbuild: lto: postpone objtool")
when the command was created from two parts.
In commit 850ded46c642 ("kbuild: Fix TRIM_UNUSED_KSYMS with LTO_CLANG")
however the first part was removed again, making the append operation
unnecessary.

To keep this command definition aligned with all other command
definitions, remove the append again.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

authored by

Thomas Weißschuh and committed by
Masahiro Yamada
cc6d281f 95573cac

+1 -1
+1 -1
scripts/Makefile.modfinal
··· 34 34 $(call if_changed_dep,cc_o_c) 35 35 36 36 quiet_cmd_ld_ko_o = LD [M] $@ 37 - cmd_ld_ko_o += \ 37 + cmd_ld_ko_o = \ 38 38 $(LD) -r $(KBUILD_LDFLAGS) \ 39 39 $(KBUILD_LDFLAGS_MODULE) $(LDFLAGS_MODULE) \ 40 40 -T scripts/module.lds -o $@ $(filter %.o, $^)