toolchain-scripts: drop PYTHONHOME

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.

(From OE-Core rev: 668f56bb2496aa0e7b5b71fb54b45371bbf6653c)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Christopher Larson 2016-02-05 10:02:35 -07:00 committed by Richard Purdie
parent 6560f80934
commit 9c0d4ece40
1 changed files with 0 additions and 1 deletions

View File

@ -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 PYTHONPATH=$sdkpathnative$prefix" >> $script
echo 'unset command_not_found_handle' >> $script
toolchain_shared_env_script