Commit 459cb3c0 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Nathan Chancellor
Browse files

kbuild: install-extmod-build: Package resolve_btfids if necessary



When CONFIG_DEBUG_INFO_BTF_MODULES is enabled and vmlinux is available,
Makefile.modfinal and gen-btf.sh will try to use resolve_btfids on the
module .ko. install-extmod-build currently does not package
resolve_btfids, so that step fails.

Package resolve_btfids if it may be used.

Signed-off-by: default avatarThomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: default avatarNicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/20260226-kbuild-resolve_btfids-v1-1-2bf38b93dfe7@linutronix.de


[nathan: Small commit message tweaks]
Signed-off-by: default avatarNathan Chancellor <nathan@kernel.org>
parent d2395bb1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -32,6 +32,10 @@ mkdir -p "${destdir}"
		echo tools/objtool/objtool
	fi

	if is_enabled CONFIG_DEBUG_INFO_BTF_MODULES; then
		echo tools/bpf/resolve_btfids/resolve_btfids
	fi

	echo Module.symvers
	echo "arch/${SRCARCH}/include/generated"
	echo include/config/auto.conf