kernel: Add KERNEL_DEBUG_ENABLED to build scripts

We want to be able to build a debug version of the kernel for various
use-cases like debugging, tracing and others.

Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
This commit is contained in:
Zvonko Kaiser
2025-03-25 17:24:30 +00:00
committed by Fabiano Fidêncio
parent b7af7f344b
commit a4597672c0
4 changed files with 16 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ KERNEL_HEADERS_PKG_TYPE="${KERNEL_HEADERS_PKG_TYPE:-deb}"
RELEASE="${RELEASE:-"no"}"
KBUILD_SIGN_PIN="${KBUILD_SIGN_PIN:-}"
RUNTIME_CHOICE="${RUNTIME_CHOICE:-both}"
KERNEL_DEBUG_ENABLED=${KERNEL_DEBUG_ENABLED:-"no"}
workdir="${WORKDIR:-$PWD}"