summaryrefslogtreecommitdiffstats
path: root/meta/classes/cargo_common.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-05 12:28:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-08 15:44:20 +0100
commit5c45b73c8fa445b5192bb9fac1bc80b038b44c0d (patch)
tree70558676b6ea7eed370b09e81ed0be5d62371e0f /meta/classes/cargo_common.bbclass
parent411304c3e99f6d3320cb307a61b5d03eda9f7b4d (diff)
downloadpoky-5c45b73c8fa445b5192bb9fac1bc80b038b44c0d.tar.gz
rust: Switch to use RUST_XXX_SYS consistently
The code was using a mixture of XXX_SYS and RUST_XXX_SYS. Use RUST_XXX_SYS consistently and add the variables to the global exclsion on signatures as they're reflected in the directory triplets and trying to filter them out the hashes separately is too painful. (From OE-Core rev: ee0c0fdf9c1eba9eece6ed1293fda25bf18964b3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cargo_common.bbclass')
-rw-r--r--meta/classes/cargo_common.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/cargo_common.bbclass b/meta/classes/cargo_common.bbclass
index 39f32829fd..dcd0afd980 100644
--- a/meta/classes/cargo_common.bbclass
+++ b/meta/classes/cargo_common.bbclass
@@ -69,15 +69,15 @@ cargo_common_do_configure () {
69 cat <<- EOF >> ${CARGO_HOME}/config 69 cat <<- EOF >> ${CARGO_HOME}/config
70 70
71 # HOST_SYS 71 # HOST_SYS
72 [target.${HOST_SYS}] 72 [target.${RUST_HOST_SYS}]
73 linker = "${CARGO_RUST_TARGET_CCLD}" 73 linker = "${CARGO_RUST_TARGET_CCLD}"
74 EOF 74 EOF
75 75
76 if [ "${HOST_SYS}" != "${BUILD_SYS}" ]; then 76 if [ "${RUST_HOST_SYS}" != "${RUST_BUILD_SYS}" ]; then
77 cat <<- EOF >> ${CARGO_HOME}/config 77 cat <<- EOF >> ${CARGO_HOME}/config
78 78
79 # BUILD_SYS 79 # BUILD_SYS
80 [target.${BUILD_SYS}] 80 [target.${RUST_BUILD_SYS}]
81 linker = "${RUST_BUILD_CCLD}" 81 linker = "${RUST_BUILD_CCLD}"
82 EOF 82 EOF
83 fi 83 fi