zephyr-kernel-src: Remove PREFERRED_VERSION_zephyr-kernel

Remove PREFERRED_VERSION_zephyr-kernel from zephyr-kernel-src.inc
as this variable should be in global configuration file and override
from local.conf file.

Set default stable PREFERRED_VERSION for kernel and sdk in layer.conf
file.

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
This commit is contained in:
Sandeep Gundlupet Raju
2025-08-14 21:54:41 -06:00
committed by Lee Chee Yang
parent d3d21db68c
commit c21d75720f
2 changed files with 3 additions and 2 deletions

View File

@@ -20,3 +20,6 @@ LAYERSERIES_COMPAT_zephyrcore = "whinlatter"
PYTHON3_NATIVE_SITEPACKAGES_DIR = "${libdir_native}/${PYTHON3_DIR}/site-packages"
addpylib ${LAYERDIR}/lib oeqa
PREFERRED_VERSION_zephyr-kernel ??= "4.1.0"
PREFERRED_VERSION_zephyr-sdk ??= "0.16.9"

View File

@@ -10,6 +10,4 @@ inherit cmake
# find the patch(es) in SRC_URI.
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
# Default to a stable version
PREFERRED_VERSION_zephyr-kernel ??= "4.1.0"
require recipes-kernel/zephyr-kernel/zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc