summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorPgowda <pgowda.cve@gmail.com>2021-10-18 21:37:25 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-23 17:42:27 +0100
commita87bff5925620abb3c2d960d629b085ef4ebf8dd (patch)
tree39a1ead6c662066f545432bf12620a95b921c445 /meta/recipes-devtools
parent6a6b4755ee5920e127034512f222d765118ebe76 (diff)
downloadpoky-a87bff5925620abb3c2d960d629b085ef4ebf8dd.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: 33be44a02beb7c52f075f660ad8e0641e360011c) 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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/rust/rust-cross.inc2
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 42163f7b81..bb625f4240 100644
--- a/meta/recipes-devtools/rust/rust-cross.inc
+++ b/meta/recipes-devtools/rust/rust-cross.inc
@@ -34,7 +34,7 @@ DEPENDS += "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs vir
34DEPENDS += "rust-native" 34DEPENDS += "rust-native"
35 35
36PROVIDES = "virtual/${TARGET_PREFIX}rust" 36PROVIDES = "virtual/${TARGET_PREFIX}rust"
37PN = "rust-cross-${TARGET_ARCH}" 37PN = "rust-cross-${TARGET_ARCH}-${TCLIBC}"
38 38
39# In the cross compilation case, rustc doesn't seem to get the rpath quite 39# In the cross compilation case, rustc doesn't seem to get the rpath quite
40# right. It manages to include '../../lib/${TARGET_PREFIX}', but doesn't 40# right. It manages to include '../../lib/${TARGET_PREFIX}', but doesn't