]> code.ossystems Code Review - openembedded-core.git/commitdiff
toolchain-scripts: drop PYTHONHOME
authorChristopher Larson <chris_larson@mentor.com>
Fri, 5 Feb 2016 17:02:35 +0000 (10:02 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 7 Feb 2016 17:29:45 +0000 (17:29 +0000)
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@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/toolchain-scripts.bbclass

index 13e73900f68fb53b7619d1ab23d1baaca1d0ad60..1566dd64d989eda6c97cfb628f9de06267608456 100644 (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