summaryrefslogtreecommitdiffstats
path: root/meta/recipes-rt/images/core-image-rt.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-rt/images/core-image-rt.bb')
-rw-r--r--meta/recipes-rt/images/core-image-rt.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-rt/images/core-image-rt.bb b/meta/recipes-rt/images/core-image-rt.bb
index cab6f8b749..9c86f25335 100644
--- a/meta/recipes-rt/images/core-image-rt.bb
+++ b/meta/recipes-rt/images/core-image-rt.bb
@@ -1,5 +1,13 @@
1require recipes-core/images/core-image-minimal.bb 1require recipes-core/images/core-image-minimal.bb
2 2
3# Skip processing of this recipe if linux-yocto-rt is not explicitly specified as the
4# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying
5# to build multiple virtual/kernel providers.
6python () {
7 if d.getVar("PREFERRED_PROVIDER_virtual/kernel", True) != "linux-yocto-rt":
8 raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
9}
10
3DESCRIPTION = "A small image just capable of allowing a device to boot plus a \ 11DESCRIPTION = "A small image just capable of allowing a device to boot plus a \
4real-time test suite and tools appropriate for real-time use." 12real-time test suite and tools appropriate for real-time use."
5DEPENDS = "linux-yocto-rt" 13DEPENDS = "linux-yocto-rt"