rt-tests: Enable only for x86/ppc64 architectures

It needs frc() implementation for oslat, this is new tool added to
rt-tests recently, and there is no easy knob to configure it out at
present

(From OE-Core rev: 44010756b0ae91e0ac7715b7840285d59f991141)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2020-11-03 11:37:53 -08:00
committed by Richard Purdie
parent 07c2be331a
commit 29a911b5ff
2 changed files with 8 additions and 1 deletions

View File

@@ -15,6 +15,12 @@ DEPENDS += "linux-yocto-rt"
IMAGE_FEATURES += "dev-pkgs tools-sdk tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks"
IMAGE_INSTALL += "rt-tests hwlatdetect kernel-dev"
IMAGE_INSTALL += "${RTTESTS} hwlatdetect kernel-dev"
RTTESTS ?= ""
RTTESTS_powerpc64 = "rt-tests"
RTTESTS_powerpc64le = "rt-tests"
RTTESTS_x86 = "rt-tests"
RTTESTS_x86-64 = "rt-tests"
LICENSE = "MIT"

View File

@@ -16,6 +16,7 @@ SRC_URI += " \
# rt-tests needs PI mutex support in libc
COMPATIBLE_HOST_libc-musl = 'null'
COMPATIBLE_HOST = "(i.86.*|x86_64.*|powerpc64.*)-linux"
# Do not install hwlatdetect
EXTRA_OEMAKE += "PYLIB=''"