rt-tests: added missing dependencies in Makefile
cover rt-tests: added missing dependencies in Makefile
From: Jackie Huang <[email protected]>
* Test info:
1) MACHINE=qemux86-64/qemuppc/qemumips; PARALLEL_MAKE = "-j 24"
$ bitbake core-image-sato $ bitbake rt-tests
The following changes since commit 17d27fd6e2750e6455f656159da56c3350c4b3cd:
sstate: fix typo (2012-12-06 22:59:05 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib jhuang0/d_rt-tests_1207_2
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/d_rt-tests_1207_2
Jackie Huang (1):
rt-tests: added missing dependencies in Makefile
.../files/added-missing-dependencies.patch | 50 ++++++++++++++++++++ meta/recipes-rt/rt-tests/rt-tests.inc | 6 ++- 2 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-rt/rt-tests/files/added-missing-dependencies.patch
Signature · 1 line
1.7.4.1
PATCH 1/1 rt-tests: added missing dependencies in Makefile
From: Jackie Huang <[email protected]>
The following targets missed dependency on librttest.a:pi_stress
rt-migrate-test
hackbench
[YOCTO #3549]
Signed-off-by Jackie Huang <[email protected]>
--- .../files/added-missing-dependencies.patch | 50 ++++++++++++++++++++ meta/recipes-rt/rt-tests/rt-tests.inc | 6 ++- 2 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-rt/rt-tests/files/added-missing-dependencies.patch
meta/recipes-rt/rt-tests/files/added-missing-dependencies.patch new file +50 -0
@@ -0,0 +1,50 @@ +From 82d28701486ba5a699544a168448bf93b1ccd7b1 Mon Sep 17 00:00:00 2001 +From: Jackie Huang <[email protected]> +Date: Thu, 6 Dec 2012 11:26:14 +0800 +Subject: [PATCH] Added missing dependencies + +Upstream-Status: Submitted [linux-rt-users] + +The following targets missed dependency on librttest.a: +pi_stress +rt-migrate-test +hackbench + +Signed-off-by: Jackie Huang <[email protected]> +--- + Makefile | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Makefile b/Makefile +index fd3cdb3..60707a7 100644 +--- a/Makefile ++++ b/Makefile +@@ -68,14 +68,14 @@ cyclictest: cyclictest.o librttest.a + signaltest: signaltest.o librttest.a + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) + +-pi_stress: pi_stress.o ++pi_stress: pi_stress.o librttest.a + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) + + hwlatdetect: src/hwlatdetect/hwlatdetect.py + chmod +x src/hwlatdetect/hwlatdetect.py + ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect + +-rt-migrate-test: rt-migrate-test.o ++rt-migrate-test: rt-migrate-test.o librttest.a + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) + + ptsematest: ptsematest.o librttest.a +@@ -96,7 +96,7 @@ sendme: sendme.o librttest.a + pip_stress: pip_stress.o librttest.a + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) + +-hackbench: hackbench.o ++hackbench: hackbench.o librttest.a + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) + + librttest.a: rt-utils.o error.o rt-get_cpu.o +-- +1.7.9.5 +
meta/recipes-rt/rt-tests/rt-tests.inc +4 -2
@@ -5,9 +5,11 @@ PR = "r0" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git \ file://0001-rt-tests-Allow-for-user-specified-PYLIB.patch \ - file://0002-rt-tests-Break-out-install_hwlatdetect.patch" + file://0002-rt-tests-Break-out-install_hwlatdetect.patch \ + file://added-missing-dependencies.patch \ +" -INC_PR = "r0" +INC_PR = "r1" S = "${WORKDIR}/git"
Signature · 1 line
1.7.4.1