summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2023-07-04 17:05:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-10 11:36:34 +0100
commit6a7a4feb62b9e6ed837a2f15927bfe669478b5c3 (patch)
tree1b9283f65968a14fe2bcb1ab4dafc4aeca9d3c1b /meta
parentd0a5ec84b40a9e1a8ca10f16259d7dfd3f2d45e4 (diff)
downloadpoky-6a7a4feb62b9e6ed837a2f15927bfe669478b5c3.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-kernel/perf/perf.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 2d803381bb..7d90ac3612 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -383,7 +383,7 @@ PACKAGESPLITFUNCS =+ "perf_fix_sources"
383 383
384perf_fix_sources () { 384perf_fix_sources () {
385 for f in util/parse-events-flex.h util/parse-events-flex.c util/pmu-flex.c \ 385 for f in util/parse-events-flex.h util/parse-events-flex.c util/pmu-flex.c \
386 util/expr-flex.h util/expr-flex.c; do 386 util/pmu-flex.h util/expr-flex.h util/expr-flex.c; do
387 f=${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/$f 387 f=${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/$f
388 if [ -e $f ]; then 388 if [ -e $f ]; then
389 sed -i -e 's#${S}/##g' $f 389 sed -i -e 's#${S}/##g' $f