mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-09-14 06:49:32 +02:00
zephyr-kernel: add Zephyr RTOS version 2.0.0 support
Release notes: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.0.0 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#Set relevant variables based on Zephyr kernel version
|
||||
|
||||
PREFERRED_VERSION_zephyr-kernel ??= "1.6.0"
|
||||
PREFERRED_VERSION_zephyr-kernel ??= "2.0.0"
|
||||
|
||||
SRCREV = "d4e799d77a36eaf6d678b357c207411ec32b2d62"
|
||||
|
||||
SRC_URI = "git://github.com/zephyrproject-rtos/zephyr.git;protocol=https;branch=v1.6-branch \
|
||||
file://Makefile.toolchain.yocto "
|
||||
PV = "1.6.0"
|
||||
SRCREV = "ca3eb0eb31d134be41aefc952f696f7d9c356b7a"
|
||||
|
||||
SRC_URI = "git://github.com/zephyrproject-rtos/zephyr.git;protocol=https;branch=v2.0-branch \
|
||||
file://0001-cmake-add-yocto-toolchain.patch \
|
||||
"
|
||||
PV = "2.0.0"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
|
||||
|
||||
@@ -15,7 +15,7 @@ ZEPHYR_TEST_SRCDIR = "tests/legacy/kernel/"
|
||||
|
||||
python () {
|
||||
src_pn = d.getVar('PREFERRED_VERSION_zephyr-kernel', True)
|
||||
if src_pn == '1.6.0':
|
||||
if src_pn == '2.0.0':
|
||||
return
|
||||
else:
|
||||
bb.error("Unsupported Zephyr kernel version requested")
|
||||
|
||||
Reference in New Issue
Block a user