summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/perf/perf.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/perf/perf.bb')
-rw-r--r--meta/recipes-kernel/perf/perf.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 9eeb1003f3..327934b72a 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -323,6 +323,9 @@ do_configure:prepend () {
323 if [ -e "${S}/tools/build/Makefile.feature" ]; then 323 if [ -e "${S}/tools/build/Makefile.feature" ]; then
324 sed -i 's,CFLAGS=,CC="\$(CC)" CFLAGS=,' ${S}/tools/build/Makefile.feature 324 sed -i 's,CFLAGS=,CC="\$(CC)" CFLAGS=,' ${S}/tools/build/Makefile.feature
325 fi 325 fi
326 # The libperl feature check produces fatal warnings due to -Werror being
327 # used, silence enough errors that the check passes.
328 sed -i 's/\(FLAGS_PERL_EMBED=.*\)/\1 -Wno-error=unused-function -Wno-error=attributes/' ${S}/tools/build/feature/Makefile
326 329
327 # 3.17-rc1+ has a include issue for arm/powerpc. Temporarily sed in the appropriate include 330 # 3.17-rc1+ has a include issue for arm/powerpc. Temporarily sed in the appropriate include
328 if [ -e "${S}/tools/perf/arch/$ARCH/util/skip-callchain-idx.c" ]; then 331 if [ -e "${S}/tools/perf/arch/$ARCH/util/skip-callchain-idx.c" ]; then