summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-11-03 11:37:53 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-08 14:03:20 +0000
commit29a911b5ff71a9541f28709fd323210cf54a2c1f (patch)
tree642080d74884d2fc75a043185c1cb9dd6de335aa
parent07c2be331a1ff5bfd7b64fb563d10fb52a7a0493 (diff)
downloadpoky-29a911b5ff71a9541f28709fd323210cf54a2c1f.tar.gz
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>
-rw-r--r--meta/recipes-rt/images/core-image-rt-sdk.bb8
-rw-r--r--meta/recipes-rt/rt-tests/rt-tests_1.9.bb1
2 files changed, 8 insertions, 1 deletions
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"
15 15
16IMAGE_FEATURES += "dev-pkgs tools-sdk tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks" 16IMAGE_FEATURES += "dev-pkgs tools-sdk tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks"
17 17
18IMAGE_INSTALL += "rt-tests hwlatdetect kernel-dev" 18IMAGE_INSTALL += "${RTTESTS} hwlatdetect kernel-dev"
19
20RTTESTS ?= ""
21RTTESTS_powerpc64 = "rt-tests"
22RTTESTS_powerpc64le = "rt-tests"
23RTTESTS_x86 = "rt-tests"
24RTTESTS_x86-64 = "rt-tests"
19 25
20LICENSE = "MIT" 26LICENSE = "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 += " \
16 16
17# rt-tests needs PI mutex support in libc 17# rt-tests needs PI mutex support in libc
18COMPATIBLE_HOST_libc-musl = 'null' 18COMPATIBLE_HOST_libc-musl = 'null'
19COMPATIBLE_HOST = "(i.86.*|x86_64.*|powerpc64.*)-linux"
19 20
20# Do not install hwlatdetect 21# Do not install hwlatdetect
21EXTRA_OEMAKE += "PYLIB=''" 22EXTRA_OEMAKE += "PYLIB=''"