summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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