summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRandy Witt <randy.e.witt@linux.intel.com>2016-02-04 12:31:42 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-06 23:10:45 +0000
commit5b7a43e85ee037a086b6b50ecfc9a15835d7edbb (patch)
tree83f45b517cdfdbe7e0682067456e526d311adbce /meta
parentf1f844775078b4218c99ba8c9dc7d15c9a9eb780 (diff)
downloadpoky-5b7a43e85ee037a086b6b50ecfc9a15835d7edbb.tar.gz
toolchain-scripts.bbclass: Use PYTHONPATH instead of PYTHONHOME
In the extensible sdk it was originally intended that the native sstate would always be setscened as part of the sdk installation. However, the soon to come "minimal" sdk won't do that. A side effect of that is that pointing PYTHONHOME at the native sysroot within the "bitbake workspace" won't work. For now only set PYTHONPATH instead and continue using the python that comes from buildtools. (From OE-Core rev: 81f126f4a8944e395f3909de2317065c09b04b5e) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/toolchain-scripts.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index ab4feb0834..13e73900f6 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -31,7 +31,7 @@ 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 PYTHONHOME=$sdkpathnative$prefix" >> $script 34 echo "export PYTHONPATH=$sdkpathnative$prefix" >> $script
35 echo 'unset command_not_found_handle' >> $script 35 echo 'unset command_not_found_handle' >> $script
36 36
37 toolchain_shared_env_script 37 toolchain_shared_env_script