[OE-core] [PATCH 2/2] toolchain-scripts: drop PYTHONHOME
Christopher Larson
kergoth at gmail.com
Fri Feb 5 17:02:35 UTC 2016
From: Christopher Larson <chris_larson at mentor.com>
If this is set when nativesdk-python is not installed, it will break the host
python, so it's better to handle this in python.
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
meta/classes/toolchain-scripts.bbclass | 1 -
1 file changed, 1 deletion(-)
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index ab4feb0..1566dd6 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -31,7 +31,6 @@ toolchain_create_sdk_env_script () {
echo "export OECORE_NATIVE_SYSROOT=\"$sdkpathnative\"" >> $script
echo 'export OECORE_TARGET_SYSROOT="$SDKTARGETSYSROOT"' >> $script
echo "export OECORE_ACLOCAL_OPTS=\"-I $sdkpathnative/usr/share/aclocal\"" >> $script
- echo "export PYTHONHOME=$sdkpathnative$prefix" >> $script
echo 'unset command_not_found_handle' >> $script
toolchain_shared_env_script
--
2.2.1
More information about the Openembedded-core
mailing list