diff options
Diffstat (limited to 'meta/recipes-devtools/rust/rust-cross.inc')
| -rw-r--r-- | meta/recipes-devtools/rust/rust-cross.inc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/recipes-devtools/rust/rust-cross.inc b/meta/recipes-devtools/rust/rust-cross.inc index 719857ebbb..ab538e6659 100644 --- a/meta/recipes-devtools/rust/rust-cross.inc +++ b/meta/recipes-devtools/rust/rust-cross.inc | |||
| @@ -1,10 +1,4 @@ | |||
| 1 | python do_rust_gen_targets () { | 1 | RUST_TARGETGENS = "BUILD HOST TARGET" |
| 2 | wd = d.getVar('WORKDIR') + '/targets/' | ||
| 3 | # Order of BUILD, HOST, TARGET is important in case the files overwrite, most specific last | ||
| 4 | rust_gen_target(d, 'BUILD', wd, d.getVar('BUILD_ARCH')) | ||
| 5 | rust_gen_target(d, 'HOST', wd, d.getVar('HOST_ARCH')) | ||
| 6 | rust_gen_target(d, 'TARGET', wd, d.getVar('TARGET_ARCH')) | ||
| 7 | } | ||
| 8 | 2 | ||
| 9 | # Otherwise we'll depend on what we provide | 3 | # Otherwise we'll depend on what we provide |
| 10 | INHIBIT_DEFAULT_RUST_DEPS = "1" | 4 | INHIBIT_DEFAULT_RUST_DEPS = "1" |
