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>
This commit is contained in:
Xi Ruoyao 2025-02-26 21:30:14 +08:00 committed by Masahiro Yamada
parent 1195306ee3
commit 82c09de2d4
1 changed files with 4 additions and 0 deletions

View File

@ -79,6 +79,10 @@ ifdef CONFIG_DEBUG_INFO_BTF
vmlinux: $(RESOLVE_BTFIDS) vmlinux: $(RESOLVE_BTFIDS)
endif endif
ifdef CONFIG_BUILDTIME_TABLE_SORT
vmlinux: scripts/sorttable
endif
# module.builtin.ranges # module.builtin.ranges
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
ifdef CONFIG_BUILTIN_MODULE_RANGES ifdef CONFIG_BUILTIN_MODULE_RANGES