From: Christopher Larson Date: Fri, 5 Feb 2016 17:02:35 +0000 (-0700) Subject: toolchain-scripts: drop PYTHONHOME X-Git-Tag: yocto-4.0~22716 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=668f56bb2496aa0e7b5b71fb54b45371bbf6653c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Christopher Larson Signed-off-by: Ross Burton --- diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 13e73900f68..1566dd64d98 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 PYTHONPATH=$sdkpathnative$prefix" >> $script echo 'unset command_not_found_handle' >> $script toolchain_shared_env_script