summaryrefslogtreecommitdiffstats
path: root/meta/recipes-rt/rt-tests
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-02-02 19:15:31 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-15 21:58:25 +0000
commit88ad298e77f7305706a0b833793edac120a12d8f (patch)
tree0d4a52e2f0e18a5df671eb28b36a2b1a4e95d17c /meta/recipes-rt/rt-tests
parentb3dab28e5bbede8a61adc3d3f5e9e1b84ef72d5d (diff)
downloadpoky-88ad298e77f7305706a0b833793edac120a12d8f.tar.gz
rt-tests: fix gzip command
The "-c" doesn't work in command "gzip file -c", need use "gzip -c file" (From OE-Core rev: ee152cb5f83c76d81e199dbb7861712a3797f400) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-rt/rt-tests')
-rw-r--r--meta/recipes-rt/rt-tests/files/Makefile-fix-gzip-command.patch30
-rw-r--r--meta/recipes-rt/rt-tests/rt-tests.inc1
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-rt/rt-tests/files/Makefile-fix-gzip-command.patch b/meta/recipes-rt/rt-tests/files/Makefile-fix-gzip-command.patch
new file mode 100644
index 0000000000..0a35ddc740
--- /dev/null
+++ b/meta/recipes-rt/rt-tests/files/Makefile-fix-gzip-command.patch
@@ -0,0 +1,30 @@
1From 07b5ed42d7041ccc084889eaa96817aa097bf461 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Tue, 3 Feb 2015 03:10:25 +0000
4Subject: [PATCH] Makefile: fix gzip command
5
6The "-c" doesn't work in command "gzip file -c", need use "gzip -c file"
7
8Upstream-Status: Pending
9
10Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11---
12 Makefile | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/Makefile b/Makefile
16index 219a591..c7d147a 100644
17--- a/Makefile
18+++ b/Makefile
19@@ -144,7 +144,7 @@ install_hwlatdetect: hwlatdetect
20 install -D -m 755 src/hwlatdetect/hwlatdetect.py $(DESTDIR)$(PYLIB)/hwlatdetect.py ; \
21 rm -f "$(DESTDIR)$(bindir)/hwlatdetect" ; \
22 ln -s $(PYLIB)/hwlatdetect.py "$(DESTDIR)$(bindir)/hwlatdetect" ; \
23- gzip src/hwlatdetect/hwlatdetect.8 -c >"$(DESTDIR)$(mandir)/man8/hwlatdetect.8.gz" ; \
24+ gzip -c src/hwlatdetect/hwlatdetect.8 >"$(DESTDIR)$(mandir)/man8/hwlatdetect.8.gz" ; \
25 fi
26
27 .PHONY: release
28--
292.0.1
30
diff --git a/meta/recipes-rt/rt-tests/rt-tests.inc b/meta/recipes-rt/rt-tests/rt-tests.inc
index 7fbe6d45b8..4942701531 100644
--- a/meta/recipes-rt/rt-tests/rt-tests.inc
+++ b/meta/recipes-rt/rt-tests/rt-tests.inc
@@ -7,6 +7,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git
7 file://0002-rt-tests-Break-out-install_hwlatdetect.patch \ 7 file://0002-rt-tests-Break-out-install_hwlatdetect.patch \
8 file://added-missing-dependencies.patch \ 8 file://added-missing-dependencies.patch \
9 file://hackbench-fix-error-check.patch \ 9 file://hackbench-fix-error-check.patch \
10 file://Makefile-fix-gzip-command.patch \
10" 11"
11 12
12S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"