Re: [PATCH] kbuild: install-extmod-build: Package resolve_btfids if necessary

From: Nicolas Schier

Date: Thu Feb 26 2026 - 16:12:52 EST


On Thu, Feb 26, 2026 at 01:37:58PM -0700, Nathan Chancellor wrote:
> On Thu, Feb 26, 2026 at 08:41:48AM +0100, Thomas Weißschuh wrote:
> > When CONFIG_DEBUG_INFO_BTF_MODULES is enabled and vmlinux is available,
> > Makefilefile.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.
>
> Heh, ironic that I was just looking in that area yesterday and I had
> thought that this would be necessary if vmlinux is available but then
> never followed up... Thanks for this.
>
> > Also package resolve_btfids if it may get used.
> >
> > Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
>
> Nicolas, can I take this as a fix?

yes, please.

Reviewed-by: Nicolas Schier <nsc@xxxxxxxxxx>

--
Nicolas