diff options
author | Sundeep KOKKONDA <sundeep.kokkonda@gmail.com> | 2023-03-08 22:59:09 +0530 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-11 00:08:40 +0000 |
commit | 3c7463a8484b2f2d1034e90e7b5557b4cbfa6fe8 (patch) | |
tree | 6dfc1d4b2b5e5daeddd1594aac3369d1431de04a /meta/recipes-devtools | |
parent | 79f5eee4240b12e6f0e20631d88b8669b21501b6 (diff) | |
download | poky-3c7463a8484b2f2d1034e90e7b5557b4cbfa6fe8.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/rust/rust_1.67.1.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/rust_1.67.1.bb b/meta/recipes-devtools/rust/rust_1.67.1.bb index 2118faec8f..f4c6d9511d 100644 --- a/meta/recipes-devtools/rust/rust_1.67.1.bb +++ b/meta/recipes-devtools/rust/rust_1.67.1.bb | |||
@@ -13,6 +13,8 @@ DEPENDS:append:class-nativesdk = " nativesdk-rust-llvm" | |||
13 | 13 | ||
14 | DEPENDS += "rust-llvm (=${PV})" | 14 | DEPENDS += "rust-llvm (=${PV})" |
15 | 15 | ||
16 | RDEPENDS:${PN}:append:class-target = " gcc g++ binutils" | ||
17 | |||
16 | # Otherwise we'll depend on what we provide | 18 | # Otherwise we'll depend on what we provide |
17 | INHIBIT_DEFAULT_RUST_DEPS:class-native = "1" | 19 | INHIBIT_DEFAULT_RUST_DEPS:class-native = "1" |
18 | # We don't need to depend on gcc-native because yocto assumes it exists | 20 | # We don't need to depend on gcc-native because yocto assumes it exists |