Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | require recipes-core/images/core-image-minimal.bb |
| 2 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 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 () { |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 7 | if d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt": |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 8 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 9 | } |
| 10 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 11 | DESCRIPTION = "A small image just capable of allowing a device to boot plus a \ |
| 12 | real-time test suite and tools appropriate for real-time use." |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 13 | DEPENDS += "linux-yocto-rt" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 14 | |
| 15 | IMAGE_INSTALL += "rt-tests hwlatdetect" |
| 16 | |
| 17 | LICENSE = "MIT" |