diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-11-03 11:37:53 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-08 14:03:20 +0000 |
commit | 29a911b5ff71a9541f28709fd323210cf54a2c1f (patch) | |
tree | 642080d74884d2fc75a043185c1cb9dd6de335aa | |
parent | 07c2be331a1ff5bfd7b64fb563d10fb52a7a0493 (diff) | |
download | poky-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.bb | 8 | ||||
-rw-r--r-- | meta/recipes-rt/rt-tests/rt-tests_1.9.bb | 1 |
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 | ||
16 | IMAGE_FEATURES += "dev-pkgs tools-sdk tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks" | 16 | IMAGE_FEATURES += "dev-pkgs tools-sdk tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks" |
17 | 17 | ||
18 | IMAGE_INSTALL += "rt-tests hwlatdetect kernel-dev" | 18 | IMAGE_INSTALL += "${RTTESTS} hwlatdetect kernel-dev" |
19 | |||
20 | RTTESTS ?= "" | ||
21 | RTTESTS_powerpc64 = "rt-tests" | ||
22 | RTTESTS_powerpc64le = "rt-tests" | ||
23 | RTTESTS_x86 = "rt-tests" | ||
24 | RTTESTS_x86-64 = "rt-tests" | ||
19 | 25 | ||
20 | LICENSE = "MIT" | 26 | 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 += " \ | |||
16 | 16 | ||
17 | # rt-tests needs PI mutex support in libc | 17 | # rt-tests needs PI mutex support in libc |
18 | COMPATIBLE_HOST_libc-musl = 'null' | 18 | COMPATIBLE_HOST_libc-musl = 'null' |
19 | COMPATIBLE_HOST = "(i.86.*|x86_64.*|powerpc64.*)-linux" | ||
19 | 20 | ||
20 | # Do not install hwlatdetect | 21 | # Do not install hwlatdetect |
21 | EXTRA_OEMAKE += "PYLIB=''" | 22 | EXTRA_OEMAKE += "PYLIB=''" |