diff mbox series

[v2,01/26] bitbake: globally define KERNEL_PACKAGE_NAME

Message ID 20260712054954.4063745-1-vince@underview.tech
State Under Review
Headers show
Series [v2,01/26] bitbake: globally define KERNEL_PACKAGE_NAME | expand

Commit Message

Vincent Davis Jr July 12, 2026, 5:49 a.m. UTC
A number of recipes rely on hard coded
kernel prefix set by KERNEL_PACKAGE_NAME
when including modules. This leads to build
time failures such as.

ERROR: Nothing RPROVIDES 'kernel-module-*'

Commit globally defines variable so that
recipes aren't reliant on hardcoded 'kernel'
prefix.

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
---
 meta/conf/bitbake.conf | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index bdf37d0da2..f06f97a8ee 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -493,6 +493,9 @@  KERNEL_SRC_PATH = "/usr/src/kernel"
 STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source"
 STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts"
 
+# Globally define base string for kernel packages
+KERNEL_PACKAGE_NAME ??= "kernel"
+
 ##################################################################
 # Specific image creation and rootfs population info.
 ##################################################################