summaryrefslogtreecommitdiffstats
path: root/meta/recipes-rt/rt-tests/rt-tests_0.84.bb
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2012-09-11 21:17:06 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-12 15:13:52 +0100
commitb3155c8393e208826c2da4a6d4a8e09fb996fcb9 (patch)
treeed5b5e21aa1cd653cd37412d6166a3d3fdff093e /meta/recipes-rt/rt-tests/rt-tests_0.84.bb
parent244dd760116ed40f498aaaa38e18771f506c0054 (diff)
downloadpoky-b3155c8393e208826c2da4a6d4a8e09fb996fcb9.tar.gz
rt-tests: Add hwlatdetect package
Split out rt-tests into rt-tests and hwlatdetect packages as the latter requires python and we want to be able to install the core rt-tests on minimal systems without python. This also addresses QA warnings about the hwlatdetect files not being packaged. Add an RRECOMMENDS on the hwlat kernel module package for the new hwlatdetect package as the python test requires the kernel module to function properly (but we probably don't want to kill a build if the exact kernel module package is not available). (From OE-Core rev: 0ea5e5a805e038ecfeb6b87ca05c021c5f72c5e9) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-rt/rt-tests/rt-tests_0.84.bb')
-rw-r--r--meta/recipes-rt/rt-tests/rt-tests_0.84.bb15
1 files changed, 4 insertions, 11 deletions
diff --git a/meta/recipes-rt/rt-tests/rt-tests_0.84.bb b/meta/recipes-rt/rt-tests/rt-tests_0.84.bb
index c54936e13b..c3964d2215 100644
--- a/meta/recipes-rt/rt-tests/rt-tests_0.84.bb
+++ b/meta/recipes-rt/rt-tests/rt-tests_0.84.bb
@@ -6,20 +6,13 @@ LICENSE = "GPLv2 & GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ 6LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
7 file://src/cyclictest/cyclictest.c;beginline=7;endline=9;md5=ce162fe491d19d2ec67dff6dbc938d50 \ 7 file://src/cyclictest/cyclictest.c;beginline=7;endline=9;md5=ce162fe491d19d2ec67dff6dbc938d50 \
8 file://src/pi_tests/pi_stress.c;beginline=6;endline=19;md5=bd426a634a43ec612e9fbf125dfcc949" 8 file://src/pi_tests/pi_stress.c;beginline=6;endline=19;md5=bd426a634a43ec612e9fbf125dfcc949"
9# Version v0.84
10SRCREV = "857cdd5320ce1f293f5dbcbec79cc8fe22b0bebf"
11 9
12PR = "r0" 10require rt-tests.inc
13 11
14SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git" 12PR = "${INC_PR}.0"
15 13
16S = "${WORKDIR}/git" 14# Do not install hwlatdetect
17 15EXTRA_OEMAKE += "PYLIB=''"
18# need to append rt-tests' default CFLAGS to ours
19CFLAGS += "-I${S}/src/include -D_GNU_SOURCE -Wall -Wno-nonnulli"
20
21# calling 'uname -m' is broken on crossbuilds
22EXTRA_OEMAKE = "NUMA=0"
23 16
24do_install() { 17do_install() {
25 oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} \ 18 oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} \