From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B3445426681; Tue, 31 Mar 2026 16:32:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774974778; cv=none; b=AX3/9fV8TcHUksauqLM45O4EyWDS0LONdfvmlgv5t0p02xl8vgE6lw8kEAcXrUUGo98H/pGyTnabPAgRN9CLwqI11ccx6yBakyuEWqoODcBnuGKWy3UJey02hSoOcgmwX/zLBMZnyT+AeOBlrLdfXi58ruUregcntHt7sYWhi3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774974778; c=relaxed/simple; bh=INugoLb/ferLhYGy79fZAqg3EThCjls18fr5LztK+Rg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=q/tX5yBYvrykFaXQ/aw5D9zpF+UmUxkU3VI1V6NF0V7AsoNz9qEhmgKOo2GKb0PC8c9RHwImOpR8AM/3Z3b7BFLLjo+eh13STb6Yfr0SgaHNWnBV/ErGPn9KfSrp4aqR6JKRSM4ikAtV8E2y0PJlJAjEqzHWgcw3ofZyiatePEU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wMrRMlaR; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="wMrRMlaR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33634C19423; Tue, 31 Mar 2026 16:32:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774974778; bh=INugoLb/ferLhYGy79fZAqg3EThCjls18fr5LztK+Rg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wMrRMlaRKRImMM3hXIgm2DEHhyUE1jHSq3lVesZ1i8ghNgayGlI1OJxTQcXv6EtTY EddcqZ9LEAD6n73Vem/aGuHyZYbxX6qwhI/PuUUNDBXzUFLofDYFCRI7L1pwRTLbB+ l6zgMiFnrDHlX0WcH75Mof7xqZX1WIyDb9FUjOq0= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= , Nicolas Schier , Nathan Chancellor , Sasha Levin Subject: [PATCH 6.19 040/342] kbuild: install-extmod-build: Package resolve_btfids if necessary Date: Tue, 31 Mar 2026 18:17:53 +0200 Message-ID: <20260331161800.378406435@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260331161758.909578033@linuxfoundation.org> References: <20260331161758.909578033@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Thomas Weißschuh [ Upstream commit 459cb3c054c2352bb321648744b620259a716b60 ] 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 Reviewed-by: Nicolas Schier Link: https://patch.msgid.link/20260226-kbuild-resolve_btfids-v1-1-2bf38b93dfe7@linutronix.de [nathan: Small commit message tweaks] Signed-off-by: Nathan Chancellor Signed-off-by: Sasha Levin --- scripts/package/install-extmod-build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/package/install-extmod-build b/scripts/package/install-extmod-build index 2576cf7902dbb..f12e1ffe409eb 100755 --- a/scripts/package/install-extmod-build +++ b/scripts/package/install-extmod-build @@ -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 -- 2.51.0