]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
perf: fix buildpaths QA warning in 6.4+
authorBruce Ashfield <bruce.ashfield@gmail.com>
Tue, 4 Jul 2023 17:05:46 +0000 (17:05 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Jul 2023 10:36:06 +0000 (11:36 +0100)
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 <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/perf/perf.bb

index 2d803381bb4406561bb50421da26071a8cc800cb..7d90ac3612fdbeb3cbe10571bc3aff564a8fd15d 100644 (file)
@@ -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