summaryrefslogtreecommitdiffstats
path: root/meta/classes/toolchain-scripts.bbclass
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2016-02-05 10:02:35 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-07 17:30:00 +0000
commit9c0d4ece40b9c08416339d3a10cabceb4f5c68c3 (patch)
tree34dfdff55dce6c901ec17bcbbe0cf29615962266 /meta/classes/toolchain-scripts.bbclass
parent6560f8093431a612122a1588442700fb8958503d (diff)
downloadpoky-9c0d4ece40b9c08416339d3a10cabceb4f5c68c3.tar.gz
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>
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-rw-r--r--meta/classes/toolchain-scripts.bbclass1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index 13e73900f6..1566dd64d9 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -31,7 +31,6 @@ toolchain_create_sdk_env_script () {
31 echo "export OECORE_NATIVE_SYSROOT=\"$sdkpathnative\"" >> $script 31 echo "export OECORE_NATIVE_SYSROOT=\"$sdkpathnative\"" >> $script
32 echo 'export OECORE_TARGET_SYSROOT="$SDKTARGETSYSROOT"' >> $script 32 echo 'export OECORE_TARGET_SYSROOT="$SDKTARGETSYSROOT"' >> $script
33 echo "export OECORE_ACLOCAL_OPTS=\"-I $sdkpathnative/usr/share/aclocal\"" >> $script 33 echo "export OECORE_ACLOCAL_OPTS=\"-I $sdkpathnative/usr/share/aclocal\"" >> $script
34 echo "export PYTHONPATH=$sdkpathnative$prefix" >> $script
35 echo 'unset command_not_found_handle' >> $script 34 echo 'unset command_not_found_handle' >> $script
36 35
37 toolchain_shared_env_script 36 toolchain_shared_env_script