diff options
author | Pgowda <pgowda.cve@gmail.com> | 2021-10-18 21:37:25 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-13 23:02:49 +0000 |
commit | 4017ee6392d9b9918b61b15121e9eed0e662d1e0 (patch) | |
tree | bde6eab1b11c2389b412f0203e91210100ffdf9b | |
parent | c7dba5edf1f480d8a3cea94c9c721addc1eb5c81 (diff) | |
download | poky-4017ee6392d9b9918b61b15121e9eed0e662d1e0.tar.gz |
rust-cross: Fix directory not deleted for race glibc vs. musl
Use different recipe names for the two different targets so that
when switching libcs overlapping files in the sysroot don't cause
issues.
(From OE-Core rev: 3c71fe1c487682950a115348cb8308e74c20e250)
Signed-off-by: Pgowda <pgowda.cve@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 33be44a02beb7c52f075f660ad8e0641e360011c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/rust/rust-cross.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rust/rust-cross.inc b/meta/recipes-devtools/rust/rust-cross.inc index bee7c9f12f..33be83bf5a 100644 --- a/meta/recipes-devtools/rust/rust-cross.inc +++ b/meta/recipes-devtools/rust/rust-cross.inc | |||
@@ -32,7 +32,7 @@ DEPENDS += "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs vir | |||
32 | DEPENDS += "rust-native" | 32 | DEPENDS += "rust-native" |
33 | 33 | ||
34 | PROVIDES = "virtual/${TARGET_PREFIX}rust" | 34 | PROVIDES = "virtual/${TARGET_PREFIX}rust" |
35 | PN = "rust-cross-${TARGET_ARCH}" | 35 | PN = "rust-cross-${TARGET_ARCH}-${TCLIBC}" |
36 | 36 | ||
37 | # In the cross compilation case, rustc doesn't seem to get the rpath quite | 37 | # In the cross compilation case, rustc doesn't seem to get the rpath quite |
38 | # right. It manages to include '../../lib/${TARGET_PREFIX}', but doesn't | 38 | # right. It manages to include '../../lib/${TARGET_PREFIX}', but doesn't |