| Message ID | 20260812214920.3639941-1-reatmon@ti.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-ti,master,v3,1/3] kernel_legacyhs: Adapt to recent changes in oe-core | expand |
meta-ti / na / 20260812214920.3639941-1-reatmon PRC Results: FAIL ========================================================= check-yocto-patches: PASS ========================================================= Patches ---------------------------------------- All patches passed ========================================================= apply-yocto-patch: PASS ========================================================= master ===================== Summary: - Patch Series: [meta-ti][master][PATCH v3 1/3] kernel_legacyhs: Adapt to recent changes in oe-core - Submitter: From: Ryan Eatmon <reatmon@ti.com> - Date: Date: Wed, 12 Aug 2026 16:49:18 -0500 - Num Patches: 3 - Mailing List (public inbox) Commit SHA: d0412f705767e28857162a634630bafbd2358cec Applied to: - Repository: lcpd-prc-meta-ti - Base Branch: master - Commit Author: Ryan Eatmon <reatmon@ti.com> - Commit Subject: ti-core-initramfs: Decrease IMAGE_OVERHEAD_FACTOR - Commit SHA: 9a5228e56c20f4b3ae65cec904010ba208e635d2 Patches ---------------------------------------- All patches applied ========================================================= check-yocto-repo: PASS ========================================================= master ===================== PASS ========================================================= yocto-check-layers: FAIL ========================================================= master - FAIL ===================== ERROR: No recipes in default available for:
diff --git a/meta-ti-bsp/classes/kernel_legacyhs.bbclass b/meta-ti-bsp/classes/kernel_legacyhs.bbclass index f2b79b1a..56130047 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 + +export 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() {
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> --- v3: Add export to the ARCH = assignment. 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(-)