From: Pgowda Date: Tue, 19 Oct 2021 04:37:25 +0000 (-0700) Subject: rust-cross: Fix directory not deleted for race glibc vs. musl X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~6367 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33be44a02beb7c52f075f660ad8e0641e360011c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Pgowda Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/rust/rust-cross.inc b/meta/recipes-devtools/rust/rust-cross.inc index 42163f7b819..bb625f4240f 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 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