summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2012-12-07 05:54:13 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-14 15:19:53 (GMT)
commita918e5de7ed97ca02f973dfded5b23738f13545e (patch)
tree3e20ec0d96a75650925fa195e9b76dc4d8306037
parent80e3f9fb377978d48778737abfdb7650eb80fe4c (diff)
downloadpoky-a918e5de7ed97ca02f973dfded5b23738f13545e.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: f941c73bbb20fb7a7b183f2b5b3e57c74d03b8dc) 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 0000000..e420282
--- /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 f511532..2b52219 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