diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb | 9 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb | 9 | ||||
-rw-r--r-- | meta/recipes-rt/images/core-image-rt-sdk.bb | 8 | ||||
-rw-r--r-- | meta/recipes-rt/images/core-image-rt.bb | 8 |
4 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb b/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb index e6bbee81f4..090f8f3310 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb | |||
@@ -2,6 +2,15 @@ KBRANCH ?= "standard/preempt-rt/base" | |||
2 | 2 | ||
3 | require recipes-kernel/linux/linux-yocto.inc | 3 | require recipes-kernel/linux/linux-yocto.inc |
4 | 4 | ||
5 | # Skip processing of this recipe if it is not explicitly specified as the | ||
6 | # PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying | ||
7 | # to build multiple virtual/kernel providers, e.g. as dependency of | ||
8 | # core-image-rt-sdk, core-image-rt. | ||
9 | python () { | ||
10 | if d.getVar("PREFERRED_PROVIDER_virtual/kernel", True) != "linux-yocto-rt": | ||
11 | raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") | ||
12 | } | ||
13 | |||
5 | SRCREV_machine ?= "51cca91a1f74dab225598282019f0d694abdc4a0" | 14 | SRCREV_machine ?= "51cca91a1f74dab225598282019f0d694abdc4a0" |
6 | SRCREV_meta ?= "2bdebd11f1a0bc00071ec1467289a7feb5418dde" | 15 | SRCREV_meta ?= "2bdebd11f1a0bc00071ec1467289a7feb5418dde" |
7 | 16 | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb b/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb index feef29f0f9..005c08893e 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb | |||
@@ -2,6 +2,15 @@ KBRANCH ?= "standard/preempt-rt" | |||
2 | 2 | ||
3 | require recipes-kernel/linux/linux-yocto.inc | 3 | require recipes-kernel/linux/linux-yocto.inc |
4 | 4 | ||
5 | # Skip processing of this recipe if it is not explicitly specified as the | ||
6 | # PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying | ||
7 | # to build multiple virtual/kernel providers, e.g. as dependency of | ||
8 | # core-image-rt-sdk, core-image-rt. | ||
9 | python () { | ||
10 | if d.getVar("PREFERRED_PROVIDER_virtual/kernel", True) != "linux-yocto-rt": | ||
11 | raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") | ||
12 | } | ||
13 | |||
5 | SRCREV_machine ?= "7ef3fe56827bd9c20021e3a52bc36ebd4c6b2ce3" | 14 | SRCREV_machine ?= "7ef3fe56827bd9c20021e3a52bc36ebd4c6b2ce3" |
6 | SRCREV_meta ?= "d6ee402d461048cf1afd10375fee5769c06d21d6" | 15 | SRCREV_meta ?= "d6ee402d461048cf1afd10375fee5769c06d21d6" |
7 | 16 | ||
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." |
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 @@ | |||
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 = "A small image just capable of allowing a device to boot plus a \ | 11 | DESCRIPTION = "A small image just capable of allowing a device to boot plus a \ |
4 | real-time test suite and tools appropriate for real-time use." | 12 | real-time test suite and tools appropriate for real-time use." |
5 | DEPENDS = "linux-yocto-rt" | 13 | DEPENDS = "linux-yocto-rt" |