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/files/0001-rt-tests-Allow-for-user-specified-PYLIB.patch | |
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/files/0001-rt-tests-Allow-for-user-specified-PYLIB.patch')
-rw-r--r-- | meta/recipes-rt/rt-tests/files/0001-rt-tests-Allow-for-user-specified-PYLIB.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-rt/rt-tests/files/0001-rt-tests-Allow-for-user-specified-PYLIB.patch b/meta/recipes-rt/rt-tests/files/0001-rt-tests-Allow-for-user-specified-PYLIB.patch new file mode 100644 index 0000000000..8b493eb1f1 --- /dev/null +++ b/meta/recipes-rt/rt-tests/files/0001-rt-tests-Allow-for-user-specified-PYLIB.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 66765522b634952346f1a3ab7d00c7222a1f9361 Mon Sep 17 00:00:00 2001 | ||
2 | Message-Id: <66765522b634952346f1a3ab7d00c7222a1f9361.1347419597.git.dvhart@linux.intel.com> | ||
3 | From: Darren Hart <dvhart@linux.intel.com> | ||
4 | Date: Tue, 11 Sep 2012 15:19:30 -0700 | ||
5 | Subject: [PATCH 1/2] rt-tests: Allow for user-specified PYLIB | ||
6 | |||
7 | Upstream-Status: Submitted | ||
8 | |||
9 | Allow users (build systems) to specify PYLIB. This allows for a | ||
10 | cross-build-system to specify the target PYLIB rather than the host | ||
11 | PYLIB. | ||
12 | |||
13 | Signed-off-by: Darren Hart <dvhart@linux.intel.com> | ||
14 | CC: Clark Williams <williams@redhat.com> | ||
15 | CC: John Kacur <jkacur@redhat.com> | ||
16 | --- | ||
17 | Makefile | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/Makefile b/Makefile | ||
21 | index 3a82407..61e2f9f 100644 | ||
22 | --- a/Makefile | ||
23 | +++ b/Makefile | ||
24 | @@ -23,7 +23,7 @@ endif | ||
25 | CFLAGS ?= -D_GNU_SOURCE -Wall -Wno-nonnull -Isrc/include | ||
26 | LDFLAGS ?= | ||
27 | |||
28 | -PYLIB := $(shell python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()') | ||
29 | +PYLIB ?= $(shell python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()') | ||
30 | |||
31 | ifndef DEBUG | ||
32 | CFLAGS += -O2 | ||
33 | -- | ||
34 | 1.7.11.4 | ||
35 | |||