aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-rt/images/core-image-rt.bb
blob: 9c86f25335db2ad5b0036b8d469150cf44f73a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require recipes-core/images/core-image-minimal.bb

# Skip processing of this recipe if linux-yocto-rt is not explicitly specified as the
# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying
# to build multiple virtual/kernel providers.
python () {
    if d.getVar("PREFERRED_PROVIDER_virtual/kernel", True) != "linux-yocto-rt":
        raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
}

DESCRIPTION = "A small image just capable of allowing a device to boot plus a \
real-time test suite and tools appropriate for real-time use."
DEPENDS = "linux-yocto-rt"

IMAGE_INSTALL += "rt-tests hwlatdetect"

LICENSE = "MIT"