diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-02-19 16:15:03 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-19 14:37:51 -0800 |
commit | db0a02492c2a53c1917b753bcf21c4ee7c0ecf59 (patch) | |
tree | f1215c050dd2602459ef2d3f8a75ef3a8e328ee0 /meta/recipes-devtools/gdb | |
parent | c78cc0556feb66fc345bd8de5ddb8e3c2e50d54d (diff) | |
download | poky-db0a02492c2a53c1917b753bcf21c4ee7c0ecf59.tar.gz |
toolchain-scripts.bbclass: add PYTHONHOME variable to environment-setup
When relocating the SDK, applications using python will search for
python modules in the default location and will fail to start.
The below errors are thrown by gdb, for example:
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site
In order to overcome this, add the PYTHONHOME variable to the
environment-setup script for both standalone toolchain and
adt-installer. No need to do that for meta-ide-support environment
script since this toolchain does not get relocated.
[YOCTO #3839]
(From OE-Core rev: e7a21cd69a326ab7e2d0e410db28f24956f61208)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb')
0 files changed, 0 insertions, 0 deletions