diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/rust-common.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/rust-common.bbclass b/meta/classes/rust-common.bbclass index 8cfe864ca3..65ad677499 100644 --- a/meta/classes/rust-common.bbclass +++ b/meta/classes/rust-common.bbclass | |||
@@ -89,6 +89,10 @@ def rust_base_triple(d, thing): | |||
89 | libc = bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'hf', '', d) | 89 | libc = bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'hf', '', d) |
90 | return arch + vendor + '-' + os + libc | 90 | return arch + vendor + '-' + os + libc |
91 | 91 | ||
92 | |||
93 | # In some cases uname and the toolchain differ on their idea of the arch name | ||
94 | RUST_BUILD_ARCH = "${@oe.rust.arch_to_rust_arch(d.getVar('BUILD_ARCH'))}" | ||
95 | |||
92 | # Naming explanation | 96 | # Naming explanation |
93 | # Yocto | 97 | # Yocto |
94 | # - BUILD_SYS - Yocto triple of the build environment | 98 | # - BUILD_SYS - Yocto triple of the build environment |