mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00
core-image-rt: Add yocto-intel-rt based recipes
These recipes depend on using an RT kernel, since the name in oe-core is hard-coded to linux-yocto-rt, we need to replicate those recipes here or come up with an additional variable to check. Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
parent
ce71121534
commit
c7e6889290
20
common/recipes-rt/images/core-image-rt-sdk.bb
Normal file
20
common/recipes-rt/images/core-image-rt-sdk.bb
Normal file
|
@ -0,0 +1,20 @@
|
|||
require recipes-core/images/core-image-minimal.bb
|
||||
|
||||
# Skip processing of this recipe if linux-intel-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") != "linux-intel-rt":
|
||||
raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it")
|
||||
}
|
||||
|
||||
DESCRIPTION = "Small image capable of booting a device with a test suite and \
|
||||
tools for real-time use. It includes the full meta-toolchain, development \
|
||||
headers and libraries to form a standalone SDK."
|
||||
DEPENDS = "linux-intel-rt"
|
||||
|
||||
IMAGE_FEATURES += "dev-pkgs tools-sdk tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks"
|
||||
|
||||
IMAGE_INSTALL += "rt-tests hwlatdetect kernel-dev"
|
||||
|
||||
LICENSE = "MIT"
|
17
common/recipes-rt/images/core-image-rt.bb
Normal file
17
common/recipes-rt/images/core-image-rt.bb
Normal file
|
@ -0,0 +1,17 @@
|
|||
require recipes-core/images/core-image-minimal.bb
|
||||
|
||||
# Skip processing of this recipe if linux-intel-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") != "linux-intel-rt":
|
||||
raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-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-intel-rt"
|
||||
|
||||
IMAGE_INSTALL += "rt-tests hwlatdetect"
|
||||
|
||||
LICENSE = "MIT"
|
Loading…
Reference in New Issue
Block a user