diff options
author | Darren Hart <dvhart@linux.intel.com> | 2012-09-11 21:17:06 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-12 15:13:52 +0100 |
commit | b3155c8393e208826c2da4a6d4a8e09fb996fcb9 (patch) | |
tree | ed5b5e21aa1cd653cd37412d6166a3d3fdff093e /meta/recipes-rt/rt-tests/rt-tests.inc | |
parent | 244dd760116ed40f498aaaa38e18771f506c0054 (diff) | |
download | poky-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.inc')
-rw-r--r-- | meta/recipes-rt/rt-tests/rt-tests.inc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-rt/rt-tests/rt-tests.inc b/meta/recipes-rt/rt-tests/rt-tests.inc new file mode 100644 index 0000000000..f51153238e --- /dev/null +++ b/meta/recipes-rt/rt-tests/rt-tests.inc | |||
@@ -0,0 +1,18 @@ | |||
1 | # Version v0.84 | ||
2 | SRCREV = "857cdd5320ce1f293f5dbcbec79cc8fe22b0bebf" | ||
3 | |||
4 | PR = "r0" | ||
5 | |||
6 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git \ | ||
7 | file://0001-rt-tests-Allow-for-user-specified-PYLIB.patch \ | ||
8 | file://0002-rt-tests-Break-out-install_hwlatdetect.patch" | ||
9 | |||
10 | INC_PR = "r0" | ||
11 | |||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | # need to append rt-tests' default CFLAGS to ours | ||
15 | CFLAGS += "-I${S}/src/include -D_GNU_SOURCE -Wall -Wno-nonnulli" | ||
16 | |||
17 | # calling 'uname -m' is broken on crossbuilds | ||
18 | EXTRA_OEMAKE = "NUMA=0" | ||