mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
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>
This commit is contained in:
parent
ff053b4711
commit
2dadccd9e6
|
@ -7,17 +7,12 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=9c0fae516fe8aaea2fb601db4800daf7"
|
||||||
inherit rust
|
inherit rust
|
||||||
inherit cargo_common
|
inherit cargo_common
|
||||||
|
|
||||||
DEPENDS += "file-native"
|
DEPENDS += "file-native rust-llvm"
|
||||||
DEPENDS:append:class-native = " rust-llvm-native"
|
|
||||||
DEPENDS:append:class-nativesdk = " nativesdk-rust-llvm"
|
|
||||||
|
|
||||||
# native rust uses cargo/rustc from binary snapshots to bootstrap
|
# native rust uses cargo/rustc from binary snapshots to bootstrap
|
||||||
# but everything else should use our native builds
|
# but everything else should use our native builds
|
||||||
DEPENDS:append:class-target = " cargo-native rust-native"
|
DEPENDS:append:class-target = " cargo-native rust-native"
|
||||||
DEPENDS:append:class-nativesdk = " cargo-native rust-native"
|
DEPENDS:append:class-nativesdk = " cargo-native rust-native"
|
||||||
|
|
||||||
DEPENDS += "rust-llvm (=${PV})"
|
|
||||||
|
|
||||||
RDEPENDS:${PN}:append:class-target = " gcc g++ binutils"
|
RDEPENDS:${PN}:append:class-target = " gcc g++ binutils"
|
||||||
|
|
||||||
# Otherwise we'll depend on what we provide
|
# Otherwise we'll depend on what we provide
|
||||||
|
|
Loading…
Reference in New Issue
Block a user