summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/rust-common.bbclass3
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
119RUST_BUILD_SYS = "${@rust_base_triple(d, 'BUILD')}" 119RUST_BUILD_SYS = "${@rust_base_triple(d, 'BUILD')}"
120RUST_BUILD_SYS[vardepvalue] = "${RUST_BUILD_SYS}"
120RUST_HOST_SYS = "${@rust_base_triple(d, 'HOST')}" 121RUST_HOST_SYS = "${@rust_base_triple(d, 'HOST')}"
122RUST_HOST_SYS[vardepvalue] = "${RUST_HOST_SYS}"
121RUST_TARGET_SYS = "${@rust_base_triple(d, 'TARGET')}" 123RUST_TARGET_SYS = "${@rust_base_triple(d, 'TARGET')}"
124RUST_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