summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-05-21 20:14:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-27 09:01:16 +0100
commit2dadccd9e67d831cfda17035472c41de484ed1c1 (patch)
tree7e5ae9f5f204d4aefedb574e071f35037bc14bf4 /meta/recipes-devtools/rust
parentff053b4711d8d521dba04ea7c3dfc0c76999e414 (diff)
downloadpoky-2dadccd9e67d831cfda17035472c41de484ed1c1.tar.gz
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 <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust')
-rw-r--r--meta/recipes-devtools/rust/rust_1.85.1.bb7
1 files changed, 1 insertions, 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"
7inherit rust 7inherit rust
8inherit cargo_common 8inherit cargo_common
9 9
10DEPENDS += "file-native" 10DEPENDS += "file-native rust-llvm"
11DEPENDS:append:class-native = " rust-llvm-native"
12DEPENDS:append:class-nativesdk = " nativesdk-rust-llvm"
13
14# native rust uses cargo/rustc from binary snapshots to bootstrap 11# native rust uses cargo/rustc from binary snapshots to bootstrap
15# but everything else should use our native builds 12# but everything else should use our native builds
16DEPENDS:append:class-target = " cargo-native rust-native" 13DEPENDS:append:class-target = " cargo-native rust-native"
17DEPENDS:append:class-nativesdk = " cargo-native rust-native" 14DEPENDS:append:class-nativesdk = " cargo-native rust-native"
18 15
19DEPENDS += "rust-llvm (=${PV})"
20
21RDEPENDS:${PN}:append:class-target = " gcc g++ binutils" 16RDEPENDS:${PN}:append:class-target = " gcc g++ binutils"
22 17
23# Otherwise we'll depend on what we provide 18# Otherwise we'll depend on what we provide