diff options
Diffstat (limited to 'meta/recipes-rt')
-rw-r--r-- | meta/recipes-rt/rt-tests/files/added-missing-dependencies.patch | 50 | ||||
-rw-r--r-- | meta/recipes-rt/rt-tests/rt-tests.inc | 6 |
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 @@ | |||
1 | From 82d28701486ba5a699544a168448bf93b1ccd7b1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jackie Huang <jackie.huang@windriver.com> | ||
3 | Date: Thu, 6 Dec 2012 11:26:14 +0800 | ||
4 | Subject: [PATCH] Added missing dependencies | ||
5 | |||
6 | Upstream-Status: Submitted [linux-rt-users] | ||
7 | |||
8 | The following targets missed dependency on librttest.a: | ||
9 | pi_stress | ||
10 | rt-migrate-test | ||
11 | hackbench | ||
12 | |||
13 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
14 | --- | ||
15 | Makefile | 6 +++--- | ||
16 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
17 | |||
18 | diff --git a/Makefile b/Makefile | ||
19 | index 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 | -- | ||
49 | 1.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 | ||
6 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git \ | 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 \ | 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 | ||
10 | INC_PR = "r0" | 12 | INC_PR = "r1" |
11 | 13 | ||
12 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
13 | 15 | ||