Skip to content

Commit 18e9944

Browse files
t-8chmasahir0y
authored andcommitted
kbuild: add dependency from vmlinux to resolve_btfids
resolve_btfids is used by link-vmlinux.sh. In contrast to other configuration options and targets no transitive dependency between resolve_btfids and vmlinux. Add an explicit one. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Acked-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
1 parent 5eaea85 commit 18e9944

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/Makefile.vmlinux

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ cmd_link_vmlinux = \
6868
targets += vmlinux
6969
vmlinux: scripts/link-vmlinux.sh vmlinux.o $(KBUILD_LDS) FORCE
7070
+$(call if_changed_dep,link_vmlinux)
71+
ifdef CONFIG_DEBUG_INFO_BTF
72+
vmlinux: $(RESOLVE_BTFIDS)
73+
endif
7174

7275
# module.builtin.ranges
7376
# ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)