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 b142b090b5..e1915207ee 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -171,6 +171,10 @@ do_compile() {
171 sed -i -e 's|\$(libdir)/traceevent/plugins|\$(libdir)/traceevent_${KERNEL_VERSION}/plugins|g' ${S}/tools/lib/traceevent/plugins/Makefile 171 sed -i -e 's|\$(libdir)/traceevent/plugins|\$(libdir)/traceevent_${KERNEL_VERSION}/plugins|g' ${S}/tools/lib/traceevent/plugins/Makefile
172 test -e ${S}/tools/perf/Makefile.config && \ 172 test -e ${S}/tools/perf/Makefile.config && \
173 sed -i -e 's|\$(libdir)/traceevent/plugins|\$(libdir)/traceevent_${KERNEL_VERSION}/plugins|g' ${S}/tools/perf/Makefile.config 173 sed -i -e 's|\$(libdir)/traceevent/plugins|\$(libdir)/traceevent_${KERNEL_VERSION}/plugins|g' ${S}/tools/perf/Makefile.config
174 # There are two copies of internal headers such as:
175 # libperf/include/internal/xyarray.h and tools/lib/perf/include/internal/xyarray.h
176 # For reproducibile binaries, we need to find one copy, hence force libperf to be created first
177 oe_runmake ${B}/libperf/libperf.a
174 oe_runmake all 178 oe_runmake all
175} 179}
176 180