summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2022-12-28 15:23:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-28 23:59:56 +0000
commitf504a2a21c38c6386e57680a8543deea99928031 (patch)
tree9c82c0a5fbc5bec87d6991b4dffcfe3a741d1b2a
parentfd552bfcfaa5c339c8ffe7c21d73d2b12c7b3393 (diff)
downloadpoky-f504a2a21c38c6386e57680a8543deea99928031.tar.gz
cargo: Extend DEBUG_PREFIX_MAP to cover vendor
The cargo build builds vendored libgit and curl, but these exist outside ${S} which DEBUG_PREFIX_MAP covers. (From OE-Core rev: c874ef5eafb88d361b96e014739d7a3a640536d9) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/cargo/cargo_1.66.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cargo/cargo_1.66.0.bb b/meta/recipes-devtools/cargo/cargo_1.66.0.bb
index 6c167c0c5f..fe8049b68c 100644
--- a/meta/recipes-devtools/cargo/cargo_1.66.0.bb
+++ b/meta/recipes-devtools/cargo/cargo_1.66.0.bb
@@ -20,6 +20,8 @@ EXCLUDE_FROM_WORLD = "1"
20 20
21inherit cargo pkgconfig 21inherit cargo pkgconfig
22 22
23DEBUG_PREFIX_MAP += "-fdebug-prefix-map=${RUSTSRC}/vendor=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}"
24
23do_cargo_setup_snapshot () { 25do_cargo_setup_snapshot () {
24 ${WORKDIR}/rust-snapshot-components/${CARGO_SNAPSHOT}/install.sh --prefix="${WORKDIR}/${CARGO_SNAPSHOT}" --disable-ldconfig 26 ${WORKDIR}/rust-snapshot-components/${CARGO_SNAPSHOT}/install.sh --prefix="${WORKDIR}/${CARGO_SNAPSHOT}" --disable-ldconfig
25 # Need to use uninative's loader if enabled/present since the library paths 27 # Need to use uninative's loader if enabled/present since the library paths