diff options
Diffstat (limited to 'meta/recipes-kernel/perf')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index a90acd55ef..32882afdf4 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -98,7 +98,7 @@ EXTRA_OEMAKE = '\ | |||
98 | AR="${AR}" \ | 98 | AR="${AR}" \ |
99 | LD="${LD}" \ | 99 | LD="${LD}" \ |
100 | EXTRA_CFLAGS="-ldw -I${S}" \ | 100 | EXTRA_CFLAGS="-ldw -I${S}" \ |
101 | YFLAGS='-y --file-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}' \ | 101 | YFLAGS='-y --file-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}' \ |
102 | EXTRA_LDFLAGS="${PERF_EXTRA_LDFLAGS}" \ | 102 | EXTRA_LDFLAGS="${PERF_EXTRA_LDFLAGS}" \ |
103 | perfexecdir=${libexecdir} \ | 103 | perfexecdir=${libexecdir} \ |
104 | NO_GTK2=1 \ | 104 | NO_GTK2=1 \ |
@@ -405,7 +405,7 @@ PACKAGESPLITFUNCS =+ "perf_fix_sources" | |||
405 | perf_fix_sources () { | 405 | perf_fix_sources () { |
406 | for f in util/parse-events-flex.h util/parse-events-flex.c util/pmu-flex.c \ | 406 | for f in util/parse-events-flex.h util/parse-events-flex.c util/pmu-flex.c \ |
407 | util/pmu-flex.h util/expr-flex.h util/expr-flex.c; do | 407 | util/pmu-flex.h util/expr-flex.h util/expr-flex.c; do |
408 | f=${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/$f | 408 | f=${PKGD}${TARGET_DBGSRC_DIR}/$f |
409 | if [ -e $f ]; then | 409 | if [ -e $f ]; then |
410 | sed -i -e 's#${S}/##g' $f | 410 | sed -i -e 's#${S}/##g' $f |
411 | fi | 411 | fi |