summaryrefslogtreecommitdiff
path: root/meta/classes
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:29:45 +0000
commit668f56bb2496aa0e7b5b71fb54b45371bbf6653c (patch)
tree902428ce243c29982107e3b4068cc93c77d6163c /meta/classes
parentc5629268b0f8ae0a425c98337d13e8dc83107e13 (diff)
downloadopenembedded-core-668f56bb2496aa0e7b5b71fb54b45371bbf6653c.tar.gz
openembedded-core-668f56bb2496aa0e7b5b71fb54b45371bbf6653c.tar.bz2
openembedded-core-668f56bb2496aa0e7b5b71fb54b45371bbf6653c.zip
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 <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
-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 () {
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