summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 420fe6b57a..eb273740ee 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -150,6 +150,9 @@ do_configure_prepend () {
150 if [ -e "${S}/tools/perf/config/feature-checks/Makefile" ]; then 150 if [ -e "${S}/tools/perf/config/feature-checks/Makefile" ]; then
151 sed -i 's,CC := $(CROSS_COMPILE)gcc -MD,CC += -MD,' ${S}/tools/perf/config/feature-checks/Makefile 151 sed -i 's,CC := $(CROSS_COMPILE)gcc -MD,CC += -MD,' ${S}/tools/perf/config/feature-checks/Makefile
152 fi 152 fi
153 if [ -e "${S}/tools/build/Makefile.feature" ]; then
154 sed -i 's,CFLAGS=,CC="\$(CC)" CFLAGS=,' ${S}/tools/build/Makefile.feature
155 fi
153 156
154 # 3.17-rc1+ has a include issue for arm/powerpc. Temporarily sed in the appropriate include 157 # 3.17-rc1+ has a include issue for arm/powerpc. Temporarily sed in the appropriate include
155 if [ -e "${S}/tools/perf/arch/$ARCH/util/skip-callchain-idx.c" ]; then 158 if [ -e "${S}/tools/perf/arch/$ARCH/util/skip-callchain-idx.c" ]; then