diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-05 12:28:45 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-08 15:44:20 +0100 |
| commit | 5c45b73c8fa445b5192bb9fac1bc80b038b44c0d (patch) | |
| tree | 70558676b6ea7eed370b09e81ed0be5d62371e0f /meta/classes/rust.bbclass | |
| parent | 411304c3e99f6d3320cb307a61b5d03eda9f7b4d (diff) | |
| download | poky-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/rust.bbclass')
| -rw-r--r-- | meta/classes/rust.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/rust.bbclass b/meta/classes/rust.bbclass index 5c8938d09f..f20e063c5b 100644 --- a/meta/classes/rust.bbclass +++ b/meta/classes/rust.bbclass | |||
| @@ -2,7 +2,7 @@ inherit rust-common | |||
| 2 | 2 | ||
| 3 | RUSTC = "rustc" | 3 | RUSTC = "rustc" |
| 4 | 4 | ||
| 5 | RUSTC_ARCHFLAGS += "--target=${HOST_SYS} ${RUSTFLAGS}" | 5 | RUSTC_ARCHFLAGS += "--target=${RUST_HOST_SYS} ${RUSTFLAGS}" |
| 6 | 6 | ||
| 7 | def rust_base_dep(d): | 7 | def rust_base_dep(d): |
| 8 | # Taken from meta/classes/base.bbclass `base_dep_prepend` and modified to | 8 | # Taken from meta/classes/base.bbclass `base_dep_prepend` and modified to |
| @@ -37,7 +37,7 @@ HOST_CFLAGS ?= "${CFLAGS}" | |||
| 37 | HOST_CXXFLAGS ?= "${CXXFLAGS}" | 37 | HOST_CXXFLAGS ?= "${CXXFLAGS}" |
| 38 | HOST_CPPFLAGS ?= "${CPPFLAGS}" | 38 | HOST_CPPFLAGS ?= "${CPPFLAGS}" |
| 39 | 39 | ||
| 40 | rustlib_suffix="${TUNE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/rustlib/${HOST_SYS}/lib" | 40 | rustlib_suffix="${TUNE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/rustlib/${RUST_HOST_SYS}/lib" |
| 41 | # Native sysroot standard library path | 41 | # Native sysroot standard library path |
| 42 | rustlib_src="${prefix}/lib/${rustlib_suffix}" | 42 | rustlib_src="${prefix}/lib/${rustlib_suffix}" |
| 43 | # Host sysroot standard library path | 43 | # Host sysroot standard library path |
