diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb')
-rw-r--r-- | import-layers/yocto-poky/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb b/import-layers/yocto-poky/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb index d81ca13872..6c1138277e 100644 --- a/import-layers/yocto-poky/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb +++ b/import-layers/yocto-poky/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb @@ -1,14 +1,23 @@ -KBRANCH ?= "standard/preempt-rt" +KBRANCH ?= "standard/preempt-rt/base" require recipes-kernel/linux/linux-yocto.inc -SRCREV_machine ?= "2bc112a6ccd16800a4c45e47ccb3018a1042abdf" -SRCREV_meta ?= "bcc65090840f51a6ac937297be5c22fe268d01ab" +# 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 ?= "652b564985db555b549ef73405aea6c38919eefc" +SRCREV_meta ?= "3030330b066a33ce21164a8b30d0503cf9f68e5b" SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}" -LINUX_VERSION ?= "4.4.3" +LINUX_VERSION ?= "4.4.26" PV = "${LINUX_VERSION}+git${SRCPV}" |