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:
Naveen Saini
2019-12-02 19:08:43 +08:00
parent 7eb056d1ee
commit b5d4f0fb63
5 changed files with 116 additions and 13 deletions

View File

@@ -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")