]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
rust: consolidate rust-llvm dependencies
authorRoss Burton <ross.burton@arm.com>
Wed, 21 May 2025 19:14:48 +0000 (20:14 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 25 May 2025 10:24:50 +0000 (11:24 +0100)
There's no need to have multiple overrides for this, as BBCLASSEXTEND
will automatically map the dependencies as needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rust/rust_1.85.1.bb

index 54db7f9a6e90ff8b4ccd34960a1e6132e1788d0b..675191c8ee05e81f98d031c5f9be671d1ae2357e 100644 (file)
@@ -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