]> code.ossystems Code Review - openembedded-core.git/commitdiff
rust-cross: Fix directory not deleted for race glibc vs. musl
authorPgowda <pgowda.cve@gmail.com>
Tue, 19 Oct 2021 04:37:25 +0000 (21:37 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Oct 2021 16:41:46 +0000 (17:41 +0100)
Use different recipe names for the two different targets so that
when switching libcs overlapping files in the sysroot don't cause
issues.

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>
meta/recipes-devtools/rust/rust-cross.inc

index 42163f7b819457d11ab06510ad1ebc1d1e8500d6..bb625f4240f0efdad0485e56c1e2f3efebdce3fe 100644 (file)
@@ -34,7 +34,7 @@ DEPENDS += "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs vir
 DEPENDS += "rust-native"
 
 PROVIDES = "virtual/${TARGET_PREFIX}rust"
-PN = "rust-cross-${TARGET_ARCH}"
+PN = "rust-cross-${TARGET_ARCH}-${TCLIBC}"
 
 # In the cross compilation case, rustc doesn't seem to get the rpath quite
 # right. It manages to include '../../lib/${TARGET_PREFIX}', but doesn't