summaryrefslogtreecommitdiffstats
path: root/meta/classes/python_pyo3.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/python_pyo3.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/python_pyo3.bbclass')
-rw-r--r--meta/classes/python_pyo3.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/python_pyo3.bbclass b/meta/classes/python_pyo3.bbclass
index 10cc3a0645..b41e3ba075 100644
--- a/meta/classes/python_pyo3.bbclass
+++ b/meta/classes/python_pyo3.bbclass
@@ -8,7 +8,7 @@ inherit cargo python3-dir siteinfo
8export PYO3_CROSS="1" 8export PYO3_CROSS="1"
9export PYO3_CROSS_PYTHON_VERSION="${PYTHON_BASEVERSION}" 9export PYO3_CROSS_PYTHON_VERSION="${PYTHON_BASEVERSION}"
10export PYO3_CROSS_LIB_DIR="${STAGING_LIBDIR}" 10export PYO3_CROSS_LIB_DIR="${STAGING_LIBDIR}"
11export CARGO_BUILD_TARGET="${HOST_SYS}" 11export CARGO_BUILD_TARGET="${RUST_HOST_SYS}"
12export RUSTFLAGS 12export RUSTFLAGS
13export PYO3_PYTHON="${PYTHON}" 13export PYO3_PYTHON="${PYTHON}"
14export PYO3_CONFIG_FILE="${WORKDIR}/pyo3.config" 14export PYO3_CONFIG_FILE="${WORKDIR}/pyo3.config"