Skip to contentSkip to conversation

perf: fix buildpaths QA warning in 6.4+

PATCH New [email protected] 1 participant 1 message Jul 4, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf: fix buildpaths QA warning in 6.4+

From: Bruce Ashfield <[email protected]>

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.

---
 meta/recipes-kernel/perf/perf.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/perf/perf.bb +1 -1
index 2d803381bb..7d90ac3612 100644
@@ -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
Signature · 1 line
2.39.2