From: Peter Kjellerstedt Date: Fri, 21 Oct 2022 23:04:03 +0000 (+0200) Subject: externalsrc.bbclass: Remove a trailing slash from ${B} X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2739 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9b5031ed5a0d102905fa75acc418246c23df6eef;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git externalsrc.bbclass: Remove a trailing slash from ${B} The trailing slash in ${B} caused -fdebug-prefix-map=${B}=... to not match as intended, resulting in ${TMPDIR} ending up in files in ${PN}-dbg when externalsrc was in use, which in turn triggered buildpath QA warnings. Signed-off-by: Peter Kjellerstedt Signed-off-by: Alexandre Belloni --- diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index 59053425899..75fb91bcb0f 100644 --- a/meta/classes/externalsrc.bbclass +++ b/meta/classes/externalsrc.bbclass @@ -61,7 +61,7 @@ python () { if externalsrcbuild: d.setVar('B', externalsrcbuild) else: - d.setVar('B', '${WORKDIR}/${BPN}-${PV}/') + d.setVar('B', '${WORKDIR}/${BPN}-${PV}') local_srcuri = [] fetch = bb.fetch2.Fetch((d.getVar('SRC_URI') or '').split(), d)