mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
rust: added missing runtime dependencies to run rust on target
[YOCTO #14975] rust files are not linking on target due to missing dependencies and observed below error. error: linker `x86_64-poky-linux-gcc` not found Added the required dependencies to run rust on target machine. (From OE-Core rev: bb781f452299cfa6ec7fffd215b0af3149178f32) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
79f5eee424
commit
3c7463a848
@@ -13,6 +13,8 @@ DEPENDS:append:class-nativesdk = " nativesdk-rust-llvm"
|
||||
|
||||
DEPENDS += "rust-llvm (=${PV})"
|
||||
|
||||
RDEPENDS:${PN}:append:class-target = " gcc g++ binutils"
|
||||
|
||||
# Otherwise we'll depend on what we provide
|
||||
INHIBIT_DEFAULT_RUST_DEPS:class-native = "1"
|
||||
# We don't need to depend on gcc-native because yocto assumes it exists
|
||||
|
||||
Reference in New Issue
Block a user