diff mbox series

[meta-ti,master,v2,1/3] kernel_legacyhs: Adapt to recent changes in oe-core

Message ID 20260806141003.2776131-1-reatmon@ti.com
State New
Headers show
Series [meta-ti,master,v2,1/3] kernel_legacyhs: Adapt to recent changes in oe-core | expand

Commit Message

Ryan Eatmon Aug. 6, 2026, 2:10 p.m. UTC
Three recent changes in oe-core [1], [2] and [3] have moved around
various things with the kernel classes.  Since we have our own copy
of the old kernel class we need to adapt to the changes.

[1] https://git.openembedded.org/openembedded-core/commit/?id=945f3faa4909b226996eff62bf55fa586a5279fa
[2] https://git.openembedded.org/openembedded-core/commit/?id=635f85b7b8ffe4bfd5f282a98bdf640aa037cde1
[3] https://git.openembedded.org/openembedded-core/commit/?id=06057ac24f74ce5de74dfc7b479a1e2c796bcdcd

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
v2: Some additional changes from testing and further looking at the
    upstream patch series changes.

 meta-ti-bsp/classes/kernel_legacyhs.bbclass | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Comments

PRC Automation Aug. 6, 2026, 2:33 p.m. UTC | #1
meta-ti / na / 20260806141003.2776131-1-reatmon

PRC Results: PASS

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed



=========================================================
  apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH v2 1/3] kernel_legacyhs: Adapt to recent changes in oe-core
- Submitter: From: Ryan Eatmon <reatmon@ti.com>
- Date: Date: Thu, 6 Aug 2026 09:10:01 -0500
- Num Patches: 3
- Mailing List (public inbox) Commit SHA: 007fea8d6326d61cbaa4584b8eee78cada204649

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-next
- Commit Author: LCPD Automation Script <lcpdbld@list.ti.com>
- Commit Subject: CI/CD Auto-Merger: cicd.master.202608052200
- Commit SHA: 4c9f7c49f524ac9572111231d52ce4cdda751a48

Patches
----------------------------------------
All patches applied



=========================================================
  check-yocto-repo: PASS
=========================================================
master
=====================
PASS



=========================================================
  yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed
diff mbox series

Patch

diff --git a/meta-ti-bsp/classes/kernel_legacyhs.bbclass b/meta-ti-bsp/classes/kernel_legacyhs.bbclass
index f2b79b1a..6655ed02 100644
--- a/meta-ti-bsp/classes/kernel_legacyhs.bbclass
+++ b/meta-ti-bsp/classes/kernel_legacyhs.bbclass
@@ -4,7 +4,9 @@ 
 # SPDX-License-Identifier: MIT
 #
 
-inherit linux-kernel-base kernel-module-split
+inherit kernel-arch kernel-module-split
+
+ARCH = "${@oe.kernel.map_kernel_arch(d)}"
 
 COMPATIBLE_HOST = ".*-linux"
 
@@ -227,7 +229,7 @@  KERNEL_DTBVENDORED ?= "0"
 #
 # configuration
 #
-KERNEL_VERSION = "${@get_kernelversion_headers('${B}')}"
+KERNEL_VERSION = "${@oe.kernel.get_version_headers('${B}')}"
 
 # kernels are generally machine specific
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -660,7 +662,7 @@  KERNEL_LOCALVERSION ??= ""
 #
 # Note: This class saves the value of localversion to a file
 # so other recipes like make-mod-scripts can restore it via the
-# helper function get_kernellocalversion_file
+# helper function oe.kernel.get_localversion_file
 export LOCALVERSION = "${KERNEL_LOCALVERSION}"
 
 kernel_legacyhs_do_configure() {