summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/perf
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-01-18 22:46:29 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-23 11:36:29 +0000
commit52a837e02752dd2545c715d321077e0f440e40fc (patch)
tree9893660b6a0251cca6391439aca2f1b4b5b40fd8 /meta/recipes-kernel/perf
parentf63f4b52403c9cc0a6354b394e41951cb1591bf2 (diff)
downloadpoky-52a837e02752dd2545c715d321077e0f440e40fc.tar.gz
perf: fix for rebuilding
Fix for rebuilding error: make[3]: *** No rule to make target `/path/to/sysroots/qemuarm64/usr/src/kernel/tools/lib/traceevent//trace-seq.c', needed by `.trace-seq.d'. Stop. make[2]: *** [sub-make] Error 2 (From OE-Core rev: 9dafa571ed0a40d21a886dec7704c31150b21942) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/perf')
-rw-r--r--meta/recipes-kernel/perf/perf.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index bd57c6c246..6925eb22cc 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -115,6 +115,10 @@ do_install() {
115} 115}
116 116
117do_configure_prepend () { 117do_configure_prepend () {
118 # Fix for rebuilding
119 rm -rf ${B}/
120 mkdir ${B}/
121
118 #kernels before 3.1 do not support WERROR env variable 122 #kernels before 3.1 do not support WERROR env variable
119 sed -i 's,-Werror ,,' ${S}/tools/perf/Makefile 123 sed -i 's,-Werror ,,' ${S}/tools/perf/Makefile
120 if [ -e "${S}/tools/perf/config/Makefile" ]; then 124 if [ -e "${S}/tools/perf/config/Makefile" ]; then