summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2012-12-07 13:54:13 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-07 17:28:21 +0000
commitd175cf096b78a11e7c436e476bf795704ef838a5 (patch)
tree5e441058edb0b6adab25ff15936e737356d3437f
parent260fd34e661d243be419885c08290c4f26262d98 (diff)
downloadpoky-d175cf096b78a11e7c436e476bf795704ef838a5.tar.gz
rt-tests: added missing dependencies in Makefile
The following targets missed dependency on librttest.a: pi_stress rt-migrate-test hackbench [YOCTO #3549] (From OE-Core rev: 44bdd58494aeb7cef14b7931ba6f6628849f2c19) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-rt/rt-tests/files/added-missing-dependencies.patch50
-rw-r--r--meta/recipes-rt/rt-tests/rt-tests.inc6
2 files changed, 54 insertions, 2 deletions
diff --git a/meta/recipes-rt/rt-tests/files/added-missing-dependencies.patch b/meta/recipes-rt/rt-tests/files/added-missing-dependencies.patch
new file mode 100644
index 0000000000..e4202823e3
--- /dev/null
+++ b/meta/recipes-rt/rt-tests/files/added-missing-dependencies.patch
@@ -0,0 +1,50 @@
1From 82d28701486ba5a699544a168448bf93b1ccd7b1 Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Thu, 6 Dec 2012 11:26:14 +0800
4Subject: [PATCH] Added missing dependencies
5
6Upstream-Status: Submitted [linux-rt-users]
7
8The following targets missed dependency on librttest.a:
9pi_stress
10rt-migrate-test
11hackbench
12
13Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
14---
15 Makefile | 6 +++---
16 1 file changed, 3 insertions(+), 3 deletions(-)
17
18diff --git a/Makefile b/Makefile
19index fd3cdb3..60707a7 100644
20--- a/Makefile
21+++ b/Makefile
22@@ -68,14 +68,14 @@ cyclictest: cyclictest.o librttest.a
23 signaltest: signaltest.o librttest.a
24 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
25
26-pi_stress: pi_stress.o
27+pi_stress: pi_stress.o librttest.a
28 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
29
30 hwlatdetect: src/hwlatdetect/hwlatdetect.py
31 chmod +x src/hwlatdetect/hwlatdetect.py
32 ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect
33
34-rt-migrate-test: rt-migrate-test.o
35+rt-migrate-test: rt-migrate-test.o librttest.a
36 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
37
38 ptsematest: ptsematest.o librttest.a
39@@ -96,7 +96,7 @@ sendme: sendme.o librttest.a
40 pip_stress: pip_stress.o librttest.a
41 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
42
43-hackbench: hackbench.o
44+hackbench: hackbench.o librttest.a
45 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
46
47 librttest.a: rt-utils.o error.o rt-get_cpu.o
48--
491.7.9.5
50
diff --git a/meta/recipes-rt/rt-tests/rt-tests.inc b/meta/recipes-rt/rt-tests/rt-tests.inc
index 6a699fc4d8..513ddaf068 100644
--- a/meta/recipes-rt/rt-tests/rt-tests.inc
+++ b/meta/recipes-rt/rt-tests/rt-tests.inc
@@ -5,9 +5,11 @@ PR = "r0"
5 5
6SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git \ 6SRC_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 \ 7 file://0001-rt-tests-Allow-for-user-specified-PYLIB.patch \
8 file://0002-rt-tests-Break-out-install_hwlatdetect.patch" 8 file://0002-rt-tests-Break-out-install_hwlatdetect.patch \
9 file://added-missing-dependencies.patch \
10"
9 11
10INC_PR = "r0" 12INC_PR = "r1"
11 13
12S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
13 15