diff options
Diffstat (limited to 'meta/recipes-devtools/rust/rust.inc')
-rw-r--r-- | meta/recipes-devtools/rust/rust.inc | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/meta/recipes-devtools/rust/rust.inc b/meta/recipes-devtools/rust/rust.inc index 7c16b8165b..1c8fe225fd 100644 --- a/meta/recipes-devtools/rust/rust.inc +++ b/meta/recipes-devtools/rust/rust.inc | |||
@@ -9,6 +9,7 @@ inherit cargo_common | |||
9 | 9 | ||
10 | DEPENDS += "file-native python3-native" | 10 | DEPENDS += "file-native python3-native" |
11 | DEPENDS:append:class-native = " rust-llvm-native" | 11 | DEPENDS:append:class-native = " rust-llvm-native" |
12 | DEPENDS:append:class-nativesdk = " nativesdk-rust-llvm" | ||
12 | 13 | ||
13 | S = "${RUSTSRC}" | 14 | S = "${RUSTSRC}" |
14 | 15 | ||
@@ -202,18 +203,6 @@ rust_do_install () { | |||
202 | rm -f ${D}${libdir}/rustlib/src/rust | 203 | rm -f ${D}${libdir}/rustlib/src/rust |
203 | } | 204 | } |
204 | 205 | ||
205 | rust_install_targets() { | ||
206 | # Install our custom target.json files | ||
207 | local td="${D}${libdir}/rustlib/" | ||
208 | install -d "$td" | ||
209 | for tgt in "${WORKDIR}/targets/"* ; do | ||
210 | install -m 0644 "$tgt" "$td" | ||
211 | done | ||
212 | } | ||
213 | |||
214 | |||
215 | do_install () { | 206 | do_install () { |
216 | rust_do_install | 207 | rust_do_install |
217 | rust_install_targets | ||
218 | } | 208 | } |
219 | # ex: sts=4 et sw=4 ts=8 | ||