mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
65569df51b
commit
c8d40d079e
@@ -98,7 +98,7 @@ EXTRA_OEMAKE = '\
|
|||||||
AR="${AR}" \
|
AR="${AR}" \
|
||||||
LD="${LD}" \
|
LD="${LD}" \
|
||||||
EXTRA_CFLAGS="-ldw -I${S}" \
|
EXTRA_CFLAGS="-ldw -I${S}" \
|
||||||
YFLAGS='-y --file-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}' \
|
YFLAGS='-y --file-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}' \
|
||||||
EXTRA_LDFLAGS="${PERF_EXTRA_LDFLAGS}" \
|
EXTRA_LDFLAGS="${PERF_EXTRA_LDFLAGS}" \
|
||||||
perfexecdir=${libexecdir} \
|
perfexecdir=${libexecdir} \
|
||||||
NO_GTK2=1 \
|
NO_GTK2=1 \
|
||||||
@@ -405,7 +405,7 @@ PACKAGESPLITFUNCS =+ "perf_fix_sources"
|
|||||||
perf_fix_sources () {
|
perf_fix_sources () {
|
||||||
for f in util/parse-events-flex.h util/parse-events-flex.c util/pmu-flex.c \
|
for f in util/parse-events-flex.h util/parse-events-flex.c util/pmu-flex.c \
|
||||||
util/pmu-flex.h util/expr-flex.h util/expr-flex.c; do
|
util/pmu-flex.h util/expr-flex.h util/expr-flex.c; do
|
||||||
f=${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/$f
|
f=${PKGD}${TARGET_DBGSRC_DIR}/$f
|
||||||
if [ -e $f ]; then
|
if [ -e $f ]; then
|
||||||
sed -i -e 's#${S}/##g' $f
|
sed -i -e 's#${S}/##g' $f
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user