From ec5f0c77882ccbd5797519f5ded4e528eb687008 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 23 Aug 2021 13:59:23 +0100 Subject: [PATCH] rust-native: Avoid stripped warning Instead of giving the following warning, hide it since we don't plan to change it. WARNING: rust-native-1.54.0-r0 do_populate_sysroot: File '/media/build1/poky/build/tmp/work/x86_64-linux/rust-native/1.54.0-r0/recipe-sysroot-native/usr/lib/rustlib/x86_64-linux/bin/rust-llvm-dwp' from rust-native was already stripped, this will prevent future debugging! Signed-off-by: Richard Purdie --- meta/recipes-devtools/rust/rust_1.54.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/rust/rust_1.54.0.bb b/meta/recipes-devtools/rust/rust_1.54.0.bb index 07221ac127..ee60c3e6f1 100644 --- a/meta/recipes-devtools/rust/rust_1.54.0.bb +++ b/meta/recipes-devtools/rust/rust_1.54.0.bb @@ -2,6 +2,8 @@ require rust-target.inc require rust-source-${PV}.inc require rust-snapshot-${PV}.inc +INSANE_SKIP:${PN}:class-native = "already-stripped" + do_compile () { rust_runx build --stage 2 } -- 2.40.1