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": |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 8 | raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") |
| 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." |
| 13 | DEPENDS = "linux-yocto-rt" |
| 14 | |
| 15 | IMAGE_INSTALL += "rt-tests hwlatdetect" |
| 16 | |
| 17 | LICENSE = "MIT" |