Skip to content

Commit 82c09de

Browse files
xry111masahir0y
authored andcommitted
kbuild: add dependency from vmlinux to sorttable
Without this dependency it's really puzzling when we bisect for a "bad" commit in a series of sorttable change: when "git bisect" switches to another commit, "make" just does nothing to vmlinux. Signed-off-by: Xi Ruoyao <xry111@xry111.site> Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
1 parent 1195306 commit 82c09de

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/Makefile.vmlinux

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ ifdef CONFIG_DEBUG_INFO_BTF
7979
vmlinux: $(RESOLVE_BTFIDS)
8080
endif
8181

82+
ifdef CONFIG_BUILDTIME_TABLE_SORT
83+
vmlinux: scripts/sorttable
84+
endif
85+
8286
# module.builtin.ranges
8387
# ---------------------------------------------------------------------------
8488
ifdef CONFIG_BUILTIN_MODULE_RANGES

0 commit comments

Comments
 (0)