diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2023-11-16 23:48:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-20 15:30:53 +0000 |
commit | c8d40d079ea7bca779163a5d968b1f28ae776fa3 (patch) | |
tree | ef49c4081fe73b823ffab7d0d484ed3937457803 | |
parent | 65569df51bc3befc83596eb6a6a148ccec608d79 (diff) | |
download | poky-c8d40d079ea7bca779163a5d968b1f28ae776fa3.tar.gz |
perf: drop PE, PR from /usr/src/debug paths
(From OE-Core rev: 4cac17c7de064b6d4e5d7dd252c5b4c610a0c6ee)
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 |