Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Vincent Davis Jr <vince@underview.tech>
To: openembedded-core@lists.openembedded.org
Cc: Vincent Davis Jr <vince@underview.tech>
Subject: [PATCH v3 23/24] linux-kernel-base: rename kernel prefix
Date: Sun, 12 Jul 2026 10:29:15 -0400	[thread overview]
Message-ID: <20260712142916.2573370-23-vince@underview.tech> (raw)
In-Reply-To: <20260712142916.2573370-1-vince@underview.tech>

Utilize preset variable KERNEL_PACKAGE_NAME
to ensure uniformity with builds if
KERNEL_PACKAGE_NAME variable were to
change.

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
---
 meta/classes-recipe/linux-kernel-base.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-recipe/linux-kernel-base.bbclass b/meta/classes-recipe/linux-kernel-base.bbclass
index e2187a73f0..5ecaa8ce6f 100644
--- a/meta/classes-recipe/linux-kernel-base.bbclass
+++ b/meta/classes-recipe/linux-kernel-base.bbclass
@@ -52,7 +52,7 @@ def get_kernellocalversion_file(p):
 
 def linux_module_packages(s, d):
     suffix = ""
-    return " ".join(map(lambda s: "kernel-module-%s%s" % (s.lower().replace('_', '-').replace('@', '+'), suffix), s.split()))
+    return " ".join(map(lambda s: "%s-module-%s%s" % (d.getVar("KERNEL_PACKAGE_NAME"), s.lower().replace('_', '-').replace('@', '+'), suffix), s.split()))
 
 export KBUILD_BUILD_VERSION = "1"
 export KBUILD_BUILD_USER ?= "oe-user"
-- 
2.43.0



  parent reply	other threads:[~2026-07-12 14:29 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-12 14:28 [PATCH v3 01/24] bitbake: globally define KERNEL_PACKAGE_NAME Vincent Davis Jr
2026-07-12 14:28 ` [PATCH v3 02/24] kernel: dont set WORKDIR if KERNEL_PACKAGE_NAME changes Vincent Davis Jr
2026-07-12 14:28 ` [PATCH v3 03/24] kernel: remove setting of KERNEL_PACKAGE_NAME Vincent Davis Jr
2026-07-12 14:28 ` [PATCH v3 04/24] machine: rename kernel prefix Vincent Davis Jr
2026-07-12 14:28 ` [PATCH v3 05/24] core-image-kernel-dev: " Vincent Davis Jr
2026-07-12 14:28 ` [PATCH v3 06/24] packagegroup-self-hosted: " Vincent Davis Jr
2026-07-12 14:28 ` [PATCH v3 07/24] packagegroup-core-boot: " Vincent Davis Jr
2026-07-12 14:29 ` [PATCH v3 08/24] packagegroup-base: " Vincent Davis Jr
2026-07-12 14:29 ` [PATCH v3 09/24] ofono: " Vincent Davis Jr
2026-07-12 14:29 ` [PATCH v3 10/24] iptables: " Vincent Davis Jr
2026-07-12 14:29 ` [PATCH v3 11/24] watchdog: " Vincent Davis Jr
2026-07-12 14:29 ` [PATCH v3 12/24] nfs-utils: " Vincent Davis Jr
2026-07-12 14:29 ` [PATCH v3 13/24] mdadm: " Vincent Davis Jr
2026-07-12 14:29 ` [PATCH v3 14/24] systemd: " Vincent Davis Jr
2026-07-12 14:29 ` [PATCH v3 15/24] util-linux: " Vincent Davis Jr
2026-07-12 14:29 ` [PATCH v3 16/24] connman: " Vincent Davis Jr
2026-07-12 14:29 ` [PATCH v3 17/24] hwlatdetect: " Vincent Davis Jr
2026-07-12 14:29 ` [PATCH v3 18/24] v86d: " Vincent Davis Jr
2026-07-12 14:29 ` [PATCH v3 19/24] efivar: " Vincent Davis Jr
2026-07-12 14:29 ` [PATCH v3 20/24] parted: " Vincent Davis Jr
2026-07-12 14:29 ` [PATCH v3 21/24] ltp: " Vincent Davis Jr
2026-07-12 14:29 ` [PATCH v3 22/24] libnl: " Vincent Davis Jr
2026-07-12 14:29 ` Vincent Davis Jr [this message]
2026-07-12 14:29 ` [PATCH v3 24/24] perf: disable discarded-qualifiers checks Vincent Davis Jr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260712142916.2573370-23-vince@underview.tech \
    --to=vince@underview.tech \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox