[yocto] [meta-mingw][PATCH v2 3/5] classes/toolchain-scripts-mingw32: Update variables
Joshua Watt
jpewhacker at gmail.com
Mon Nov 19 13:17:50 PST 2018
Updates the variables configured by the toolchain script to match the
oe-core class. This combines the changes from:
0b5f1b0430 ("toolchain-scripts: put TARGET_ARCH and TARGET_OS into environment")
47160a8c51 ("cmake: fix linking in multilib SDKs")
668f56bb24 ("toolchain-scripts: drop PYTHONHOME")
81f126f4a8 ("toolchain-scripts.bbclass: Use PYTHONPATH instead of PYTHONHOME")
[YOCTO #13020]
Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
---
classes/toolchain-scripts-mingw32.bbclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/classes/toolchain-scripts-mingw32.bbclass b/classes/toolchain-scripts-mingw32.bbclass
index b996a3e..a64f5f5 100644
--- a/classes/toolchain-scripts-mingw32.bbclass
+++ b/classes/toolchain-scripts-mingw32.bbclass
@@ -29,7 +29,9 @@ toolchain_create_sdk_env_script_sdkmingw32 () {
echo "set OECORE_NATIVE_SYSROOT=$sdkpathnative" >> $script
echo 'set OECORE_TARGET_SYSROOT=%SDKTARGETSYSROOT%' >> $script
echo "set OECORE_ACLOCAL_OPTS=-I $sdkpathnative/usr/share/aclocal" >> $script
- echo "set PYTHONHOME=$sdkpathnative$prefix" >> $script
+ echo 'set OECORE_BASELIB=${baselib}' >> $script
+ echo 'set OECORE_TARGET_ARCH=${TARGET_ARCH}' >> $script
+ echo 'set OECORE_TARGET_OS=${TARGET_OS}' >> $script
toolchain_shared_env_script
--
2.19.1
More information about the yocto
mailing list