xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-rt/images/core-image-rt.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1require recipes-core/images/core-image-minimal.bb
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.
6python () {
7    if d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt":
8        raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
9}
10
11DESCRIPTION = "A small image just capable of allowing a device to boot plus a \
12real-time test suite and tools appropriate for real-time use."
13DEPENDS += "linux-yocto-rt"
14
15IMAGE_INSTALL += "rt-tests hwlatdetect"
16
17LICENSE = "MIT"
18