From 2dadccd9e67d831cfda17035472c41de484ed1c1 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 21 May 2025 20:14:48 +0100 Subject: [PATCH] rust: consolidate rust-llvm dependencies There's no need to have multiple overrides for this, as BBCLASSEXTEND will automatically map the dependencies as needed. (From OE-Core rev: ffa699332551fbbb95a0e388385667dc2706da6a) Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- meta/recipes-devtools/rust/rust_1.85.1.bb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/meta/recipes-devtools/rust/rust_1.85.1.bb b/meta/recipes-devtools/rust/rust_1.85.1.bb index 54db7f9a6e..675191c8ee 100644 --- a/meta/recipes-devtools/rust/rust_1.85.1.bb +++ b/meta/recipes-devtools/rust/rust_1.85.1.bb @@ -7,17 +7,12 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=9c0fae516fe8aaea2fb601db4800daf7" inherit rust inherit cargo_common -DEPENDS += "file-native" -DEPENDS:append:class-native = " rust-llvm-native" -DEPENDS:append:class-nativesdk = " nativesdk-rust-llvm" - +DEPENDS += "file-native rust-llvm" # native rust uses cargo/rustc from binary snapshots to bootstrap # but everything else should use our native builds DEPENDS:append:class-target = " cargo-native rust-native" DEPENDS:append:class-nativesdk = " cargo-native rust-native" -DEPENDS += "rust-llvm (=${PV})" - RDEPENDS:${PN}:append:class-target = " gcc g++ binutils" # Otherwise we'll depend on what we provide