summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-kernel/perf/perf.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index e1915207ee..3b9e52fdb8 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -105,7 +105,7 @@ EXTRA_OEMAKE = '\
105 LDSHARED="${CC} -shared" \ 105 LDSHARED="${CC} -shared" \
106 AR="${AR}" \ 106 AR="${AR}" \
107 LD="${LD}" \ 107 LD="${LD}" \
108 EXTRA_CFLAGS="-ldw -I${S}" \ 108 EXTRA_CFLAGS="-ldw -I${S} -I${S}/libperf/include -I${S}/tools/lib/perf/include" \
109 YFLAGS='-y --file-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}' \ 109 YFLAGS='-y --file-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}' \
110 EXTRA_LDFLAGS="${PERF_EXTRA_LDFLAGS}" \ 110 EXTRA_LDFLAGS="${PERF_EXTRA_LDFLAGS}" \
111 perfexecdir=${libexecdir} \ 111 perfexecdir=${libexecdir} \
@@ -174,8 +174,8 @@ do_compile() {
174 # There are two copies of internal headers such as: 174 # There are two copies of internal headers such as:
175 # libperf/include/internal/xyarray.h and tools/lib/perf/include/internal/xyarray.h 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 176 # For reproducibile binaries, we need to find one copy, hence force libperf to be created first
177 oe_runmake ${B}/libperf/libperf.a 177 oe_runmake ${B}/libperf/libperf.a V=1
178 oe_runmake all 178 oe_runmake all V=1
179} 179}
180 180
181do_install() { 181do_install() {