diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2022-10-22 01:04:03 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-26 12:28:39 +0100 |
commit | b3ffb247c74c8e0dfe2e4db6421ca2ccabf6b10c (patch) | |
tree | 07eacdefd640c86841d4ed57fb4a089d7a75c1f7 /meta/classes | |
parent | 8b2348a75ec38a1d235c907b2de399bae7bbfaef (diff) | |
download | poky-b3ffb247c74c8e0dfe2e4db6421ca2ccabf6b10c.tar.gz |
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.
(From OE-Core rev: 9b5031ed5a0d102905fa75acc418246c23df6eef)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/externalsrc.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index 5905342589..75fb91bcb0 100644 --- a/meta/classes/externalsrc.bbclass +++ b/meta/classes/externalsrc.bbclass | |||
@@ -61,7 +61,7 @@ python () { | |||
61 | if externalsrcbuild: | 61 | if externalsrcbuild: |
62 | d.setVar('B', externalsrcbuild) | 62 | d.setVar('B', externalsrcbuild) |
63 | else: | 63 | else: |
64 | d.setVar('B', '${WORKDIR}/${BPN}-${PV}/') | 64 | d.setVar('B', '${WORKDIR}/${BPN}-${PV}') |
65 | 65 | ||
66 | local_srcuri = [] | 66 | local_srcuri = [] |
67 | fetch = bb.fetch2.Fetch((d.getVar('SRC_URI') or '').split(), d) | 67 | fetch = bb.fetch2.Fetch((d.getVar('SRC_URI') or '').split(), d) |