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>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
This commit is contained in:
Sandeep Gundlupet Raju
2025-08-18 16:02:55 -06:00
committed by Lee Chee Yang
parent ab87e99021
commit 09be45cbb5
2 changed files with 4 additions and 2 deletions

View File

@@ -20,3 +20,7 @@ LAYERSERIES_COMPAT_zephyrcore = "kirkstone scarthgap"
PYTHON3_NATIVE_SITEPACKAGES_DIR = "${libdir_native}/${PYTHON3_DIR}/site-packages"
addpylib ${LAYERDIR}/lib oeqa
# Default to a stable version
PREFERRED_VERSION_zephyr-kernel ??= "3.6.0"
PREFERRED_VERSION_zephyr-sdk ??= "0.16.9"

View File

@@ -11,6 +11,4 @@ inherit cmake
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
S = "${WORKDIR}/git"
# Default to a stable version
PREFERRED_VERSION_zephyr-kernel ??= "3.6.0"
require recipes-kernel/zephyr-kernel/zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc