mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-07-08 18:13:59 +02:00
kbuild: install-extmod-build: Package resolve_btfids if necessary
[ Upstream commit 459cb3c054 ]
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: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Nicolas 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: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
efe3f0d9bc
commit
da89e7137b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user