[meta-oe][PATCH] mozjs: Use RUST_HOST_SYS and RUST_TARGET_SYS


Khem Raj
 

Signed-off-by: Khem Raj <raj.khem@...>
---
.../meta-python/recipes-extended/mozjs/mozjs-78_78.15.0.bb | 2 +-
meta-oe/recipes-extended/mozjs/mozjs-91_91.8.0.bb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs-78_78.15.0.bb b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs-78_78.15.0.bb
index c23950301e..7d4e4a81fb 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs-78_78.15.0.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs-78_78.15.0.bb
@@ -40,7 +40,7 @@ JIT ?= ""
JIT:mipsarch = "--disable-jit"

EXTRA_OECONF = " \
- --target=${TARGET_SYS} \
+ --target=${RUST_TARGET_SYS} \
--host=${BUILD_SYS} \
--prefix=${prefix} \
--libdir=${libdir} \
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-91_91.8.0.bb b/meta-oe/recipes-extended/mozjs/mozjs-91_91.8.0.bb
index 9b990ecdf3..8ade3bb4be 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-91_91.8.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs-91_91.8.0.bb
@@ -50,7 +50,7 @@ do_configure() {
cd ${B}
python3 ${S}/configure.py \
--enable-project=js \
- --target=${HOST_SYS} \
+ --target=${RUST_HOST_SYS} \
--host=${BUILD_SYS} \
--prefix=${prefix} \
--libdir=${libdir} \
--
2.37.1

Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.