]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
rt-tests: Enable only for x86/ppc64 architectures
authorKhem Raj <raj.khem@gmail.com>
Tue, 3 Nov 2020 19:37:53 +0000 (11:37 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 8 Nov 2020 14:03:16 +0000 (14:03 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-rt/images/core-image-rt-sdk.bb
meta/recipes-rt/rt-tests/rt-tests_1.9.bb

index 624b7d9430c7eea427c84dac58c3094c21f47af8..4f2fdf12c556396622f347f6a7776b880350b5af 100644 (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"
index 2834cabcd49ef8ca496a699225d609463aaa9ad9..1fe0bd5cfc7de8698f3da738347cbadc5d0c64a5 100644 (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=''"