mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 15:29:40 +01:00
perf: fix buildpaths QA warning in 6.4+
kernel version 6.4 introduces a new file that need to have absolute paths removed, so we can avoid the buildpaths QA warning and have relocatable packages. We add pmu-flex.h to the processing, and the issue is resolved. (From OE-Core rev: b9f1d1ec162531e0ce59ea829ae570ca907b3448) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d0a5ec84b4
commit
6a7a4feb62
@@ -383,7 +383,7 @@ PACKAGESPLITFUNCS =+ "perf_fix_sources"
|
||||
|
||||
perf_fix_sources () {
|
||||
for f in util/parse-events-flex.h util/parse-events-flex.c util/pmu-flex.c \
|
||||
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
|
||||
if [ -e $f ]; then
|
||||
sed -i -e 's#${S}/##g' $f
|
||||
|
||||
Reference in New Issue
Block a user