Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit cc6d281

Browse files
t-8chmasahir0y
authored andcommitted
kbuild: remove append operation on cmd_ld_ko_o
The append operation was introduced in commit b1a1a1a ("kbuild: lto: postpone objtool") when the command was created from two parts. In commit 850ded4 ("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>
1 parent 95573ca commit cc6d281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Makefile.modfinal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $(extmod_prefix).module-common.o: $(srctree)/scripts/module-common.c FORCE
3434
$(call if_changed_dep,cc_o_c)
3535

3636
quiet_cmd_ld_ko_o = LD [M] $@
37-
cmd_ld_ko_o += \
37+
cmd_ld_ko_o = \
3838
$(LD) -r $(KBUILD_LDFLAGS) \
3939
$(KBUILD_LDFLAGS_MODULE) $(LDFLAGS_MODULE) \
4040
-T scripts/module.lds -o $@ $(filter %.o, $^)

0 commit comments

Comments
 (0)