From: Bruce Ashfield Date: Tue, 4 Jul 2023 17:05:46 +0000 (+0000) Subject: perf: fix buildpaths QA warning in 6.4+ X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~412 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b9f1d1ec162531e0ce59ea829ae570ca907b3448;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 2d803381bb4..7d90ac3612f 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb @@ -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