aboutsummaryrefslogtreecommitdiffstats
path: root/classes/zephyr-kernel-src.bbclass
diff options
context:
space:
mode:
authorMah, Yock Gen <yock.gen.mah@intel.com>2020-09-22 15:27:57 +0800
committerNaveen Saini <naveen.kumar.saini@intel.com>2020-09-23 09:03:21 +0800
commit6bfb2769b48ee15f46b619a805567eac3a1f9418 (patch)
tree7cc974ff9cf66e27694e30da06ce21e1402e8ee8 /classes/zephyr-kernel-src.bbclass
parent4dd1f5b782a05d48fba60acca8d389dbcb8b87e3 (diff)
downloadmeta-zephyr-6bfb2769b48ee15f46b619a805567eac3a1f9418.tar.gz
meta-zephyr-6bfb2769b48ee15f46b619a805567eac3a1f9418.tar.bz2
meta-zephyr-6bfb2769b48ee15f46b619a805567eac3a1f9418.zip
zephyr-kernel: add Zephyr RTOS version 2.3.0 support
Signed-off-by: Mah, Yock Gen <yock.gen.mah@intel.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Diffstat (limited to 'classes/zephyr-kernel-src.bbclass')
-rw-r--r--classes/zephyr-kernel-src.bbclass16
1 files changed, 11 insertions, 5 deletions
diff --git a/classes/zephyr-kernel-src.bbclass b/classes/zephyr-kernel-src.bbclass
index 653cb9b..50e46af 100644
--- a/classes/zephyr-kernel-src.bbclass
+++ b/classes/zephyr-kernel-src.bbclass
@@ -1,13 +1,19 @@
#Set relevant variables based on Zephyr kernel version
-PREFERRED_VERSION_zephyr-kernel ??= "2.2.0"
+PREFERRED_VERSION_zephyr-kernel ??= "2.3.0"
-SRCREV = "d39cb42d0920d5658fad358ad5b91de75d747a20"
+SRCREV_FORMAT = "default_cmsis"
+SRCREV_default = "b8c78e254ff875680e99c9f131fbe285c4575927"
+SRCREV_cmsis = "542b2296e6d515b265e25c6b7208e8fea3014f90"
-SRC_URI = "git://github.com/zephyrproject-rtos/zephyr.git;protocol=https;branch=v2.2-branch \
+
+SRC_URI = "git://github.com/zephyrproject-rtos/zephyr.git;protocol=https;branch=v2.3-branch;name=default \
+ git://github.com/zephyrproject-rtos/cmsis.git;protocol=https;destsuffix=git/modules/cmsis;name=cmsis \
file://0001-cmake-add-yocto-toolchain.patch \
"
-PV = "2.2.0"
+
+PV = "2.3.0+git${SRCPV}"
+
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
@@ -15,7 +21,7 @@ ZEPHYR_TEST_SRCDIR = "tests/legacy/kernel/"
python () {
src_pn = d.getVar('PREFERRED_VERSION_zephyr-kernel', True)
- if src_pn == '2.2.0':
+ if src_pn == '2.3.0':
return
else:
bb.error("Unsupported Zephyr kernel version requested")