diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb')
-rw-r--r-- | import-layers/yocto-poky/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb b/import-layers/yocto-poky/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb index a13895727..b95fb5857 100644 --- a/import-layers/yocto-poky/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb +++ b/import-layers/yocto-poky/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb @@ -2,13 +2,22 @@ KBRANCH ?= "standard/preempt-rt/base" require recipes-kernel/linux/linux-yocto.inc -SRCREV_machine ?= "28d8cfdbcb18a6eef202099cca66430fd3b6eae0" -SRCREV_meta ?= "a4f88c3fad887e1c559d03ae1b531ca267137b69" +# Skip processing of this recipe if it is not explicitly specified as the +# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying +# to build multiple virtual/kernel providers, e.g. as dependency of +# core-image-rt-sdk, core-image-rt. +python () { + if d.getVar("PREFERRED_PROVIDER_virtual/kernel", True) != "linux-yocto-rt": + raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") +} + +SRCREV_machine ?= "966ddde490030166010c5770f8f86cdd0e961c76" +SRCREV_meta ?= "3c3197e65b6f2f5514853c1fe78ae8ffc131b02c" SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.1.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.1;destsuffix=${KMETA}" -LINUX_VERSION ?= "4.1.18" +LINUX_VERSION ?= "4.1.33" PV = "${LINUX_VERSION}+git${SRCPV}" |