diff options
| -rw-r--r-- | meta/classes/rust-common.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/rust-common.bbclass b/meta/classes/rust-common.bbclass index 02a538258a..cb811ac5da 100644 --- a/meta/classes/rust-common.bbclass +++ b/meta/classes/rust-common.bbclass | |||
| @@ -117,8 +117,11 @@ RUST_BUILD_ARCH = "${@oe.rust.arch_to_rust_arch(d.getVar('BUILD_ARCH'))}" | |||
| 117 | # its likely best to not use the triple suffix due to potential confusion. | 117 | # its likely best to not use the triple suffix due to potential confusion. |
| 118 | 118 | ||
| 119 | RUST_BUILD_SYS = "${@rust_base_triple(d, 'BUILD')}" | 119 | RUST_BUILD_SYS = "${@rust_base_triple(d, 'BUILD')}" |
| 120 | RUST_BUILD_SYS[vardepvalue] = "${RUST_BUILD_SYS}" | ||
| 120 | RUST_HOST_SYS = "${@rust_base_triple(d, 'HOST')}" | 121 | RUST_HOST_SYS = "${@rust_base_triple(d, 'HOST')}" |
| 122 | RUST_HOST_SYS[vardepvalue] = "${RUST_HOST_SYS}" | ||
| 121 | RUST_TARGET_SYS = "${@rust_base_triple(d, 'TARGET')}" | 123 | RUST_TARGET_SYS = "${@rust_base_triple(d, 'TARGET')}" |
| 124 | RUST_TARGET_SYS[vardepvalue] = "${RUST_TARGET_SYS}" | ||
| 122 | 125 | ||
| 123 | # wrappers to get around the fact that Rust needs a single | 126 | # wrappers to get around the fact that Rust needs a single |
| 124 | # binary but Yocto's compiler and linker commands have | 127 | # binary but Yocto's compiler and linker commands have |
