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 02/19] kernel: introduce kernel-vars class
Date: Sat, 11 Jul 2026 01:23:46 -0400	[thread overview]
Message-ID: <20260711052403.1292286-2-vince@underview.tech> (raw)
In-Reply-To: <20260711052403.1292286-1-vince@underview.tech>

The kernel-vars class allows the caller
the opportunity change KERNEL_PACKAGE_NAME
and use value globally.

The kernel-vars class is largely for yocto
project recipes that are still using the
default KERNEL_PACKAGE_NAME prefix.

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

diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass
index 48e394b650..d28b3007f0 100644
--- a/meta/classes-recipe/kernel.bbclass
+++ b/meta/classes-recipe/kernel.bbclass
@@ -4,7 +4,7 @@
 # SPDX-License-Identifier: MIT
 #
 
-inherit linux-kernel-base kernel-module-split features_check
+inherit linux-kernel-base kernel-module-split kernel-vars features_check
 
 COMPATIBLE_HOST = ".*-linux"
 
@@ -12,7 +12,6 @@ COMPATIBLE_HOST = ".*-linux"
 REQUIRED_TUNE_FEATURES:riscv32 = "rv 32 i m a zicsr zifencei"
 REQUIRED_TUNE_FEATURES:riscv64 = "rv 64 i m a zicsr zifencei"
 
-KERNEL_PACKAGE_NAME ??= "kernel"
 KERNEL_DEPLOYSUBDIR ??= "${@ "" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else d.getVar("KERNEL_PACKAGE_NAME") }"
 
 PROVIDES += "virtual/kernel"
-- 
2.43.0



  reply	other threads:[~2026-07-11  5:24 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-11  5:23 [PATCH 01/19] kernal-vars: introduce new class Vincent Davis Jr
2026-07-11  5:23 ` Vincent Davis Jr [this message]
2026-07-11  5:23 ` [PATCH 03/19] packagegroup-self-hosted: rename kernel prefix Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 04/19] packegroup-core-boot: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 05/19] packagegroup-base: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 06/19] ofono: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 07/19] iptables: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 08/19] watchdog: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 09/19] nfs-utils: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 10/19] mdadm: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 11/19] systemd: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 12/19] util-linux: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 13/19] connman: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 14/19] hwlatdetect: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 15/19] v86d: " Vincent Davis Jr
2026-07-11  5:24 ` [PATCH 16/19] efivar: " Vincent Davis Jr
2026-07-11  5:24 ` [PATCH 17/19] parted: " Vincent Davis Jr
2026-07-11  5:24 ` [PATCH 18/19] ltp: " Vincent Davis Jr
2026-07-11  5:24 ` [PATCH 19/19] libnl: " Vincent Davis Jr
2026-07-11 20:22 ` [OE-core] [PATCH 01/19] kernal-vars: introduce new class Richard Purdie

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=20260711052403.1292286-2-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