rt-tests: Enable only for x86/ppc64 architectures

Submitted by Khem Raj on Nov. 3, 2020, 7:37 p.m. | Patch ID: 177897

Details

Message ID 20201103193753.1621431-1-raj.khem@gmail.com
State New
Headers show

Commit Message

Khem Raj Nov. 3, 2020, 7:37 p.m.
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta/recipes-rt/images/core-image-rt-sdk.bb | 8 +++++++-
 meta/recipes-rt/rt-tests/rt-tests_1.9.bb    | 1 +
 2 files changed, 8 insertions(+), 1 deletion(-)

-- 
2.29.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#144242): https://lists.openembedded.org/g/openembedded-core/message/144242
Mute This Topic: https://lists.openembedded.org/mt/78014607/1003190
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

diff --git a/meta/recipes-rt/images/core-image-rt-sdk.bb b/meta/recipes-rt/images/core-image-rt-sdk.bb
index 624b7d9430..4f2fdf12c5 100644
--- a/meta/recipes-rt/images/core-image-rt-sdk.bb
+++ b/meta/recipes-rt/images/core-image-rt-sdk.bb
@@ -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"
diff --git a/meta/recipes-rt/rt-tests/rt-tests_1.9.bb b/meta/recipes-rt/rt-tests/rt-tests_1.9.bb
index 2834cabcd4..1fe0bd5cfc 100644
--- a/meta/recipes-rt/rt-tests/rt-tests_1.9.bb
+++ b/meta/recipes-rt/rt-tests/rt-tests_1.9.bb
@@ -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=''"