diff options
Diffstat (limited to 'meta/recipes-rt/images/core-image-rt-sdk.bb')
-rw-r--r-- | meta/recipes-rt/images/core-image-rt-sdk.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-rt/images/core-image-rt-sdk.bb b/meta/recipes-rt/images/core-image-rt-sdk.bb index db7d581832..7ddf671bca 100644 --- a/meta/recipes-rt/images/core-image-rt-sdk.bb +++ b/meta/recipes-rt/images/core-image-rt-sdk.bb | |||
@@ -1,5 +1,13 @@ | |||
1 | require recipes-core/images/core-image-minimal.bb | 1 | require 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. | ||
6 | python () { | ||
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 | |||
3 | DESCRIPTION = "Small image capable of booting a device with a test suite and \ | 11 | DESCRIPTION = "Small image capable of booting a device with a test suite and \ |
4 | tools for real-time use. It includes the full meta-toolchain, development \ | 12 | tools for real-time use. It includes the full meta-toolchain, development \ |
5 | headers and libraries to form a standalone SDK." | 13 | headers and libraries to form a standalone SDK." |