diff options
author | Christopher Larson <chris_larson@mentor.com> | 2016-02-05 10:02:34 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-07 17:30:00 +0000 |
commit | 6560f8093431a612122a1588442700fb8958503d (patch) | |
tree | 2cc969a7c27facdc7bef783d3bd37ededcb8172c | |
parent | 92ae4e290292d88ae6dabc0a53ef7aa5c9cedf28 (diff) | |
download | poky-6560f8093431a612122a1588442700fb8958503d.tar.gz |
python: set PYTHONHOME for nativesdk
This ensures that the nativesdk python functions correctly without needing to
set PYTHONHOME in the sdk environment setup script.
(From OE-Core rev: c5629268b0f8ae0a425c98337d13e8dc83107e13)
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>
-rw-r--r-- | meta/recipes-devtools/python/python_2.7.11.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.11.bb b/meta/recipes-devtools/python/python_2.7.11.bb index 0287c191ab..0c00d6e4e4 100644 --- a/meta/recipes-devtools/python/python_2.7.11.bb +++ b/meta/recipes-devtools/python/python_2.7.11.bb | |||
@@ -123,7 +123,7 @@ do_install() { | |||
123 | } | 123 | } |
124 | 124 | ||
125 | do_install_append_class-nativesdk () { | 125 | do_install_append_class-nativesdk () { |
126 | create_wrapper ${D}${bindir}/python2.7 TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo' | 126 | create_wrapper ${D}${bindir}/python2.7 PYTHONHOME='${prefix}' TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo' |
127 | } | 127 | } |
128 | 128 | ||
129 | SSTATE_SCAN_FILES += "Makefile" | 129 | SSTATE_SCAN_FILES += "Makefile" |