aboutsummaryrefslogtreecommitdiffstats
path: root/classes/zephyr-kernel-src.bbclass
diff options
context:
space:
mode:
authorNaveen Saini <naveen.kumar.saini@intel.com>2019-12-02 19:08:43 +0800
committerNaveen Saini <naveen.kumar.saini@intel.com>2019-12-09 13:08:38 +0800
commitb5d4f0fb631deac40dec7645a0791a342315f9e7 (patch)
tree704f7cc6c8543c0cdc0b567b7337c336a1e49966 /classes/zephyr-kernel-src.bbclass
parent7eb056d1eeb42c3e51d0de8690ac457811d57b2a (diff)
downloadmeta-zephyr-b5d4f0fb631deac40dec7645a0791a342315f9e7.tar.gz
meta-zephyr-b5d4f0fb631deac40dec7645a0791a342315f9e7.tar.bz2
meta-zephyr-b5d4f0fb631deac40dec7645a0791a342315f9e7.zip
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>
Diffstat (limited to 'classes/zephyr-kernel-src.bbclass')
-rw-r--r--classes/zephyr-kernel-src.bbclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/classes/zephyr-kernel-src.bbclass b/classes/zephyr-kernel-src.bbclass
index af53e8e..9e2558b 100644
--- a/classes/zephyr-kernel-src.bbclass
+++ b/classes/zephyr-kernel-src.bbclass
@@ -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")