mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 05:02:21 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
92ae4e2902
commit
6560f80934
@@ -123,7 +123,7 @@ do_install() {
|
||||
}
|
||||
|
||||
do_install_append_class-nativesdk () {
|
||||
create_wrapper ${D}${bindir}/python2.7 TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo'
|
||||
create_wrapper ${D}${bindir}/python2.7 PYTHONHOME='${prefix}' TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo'
|
||||
}
|
||||
|
||||
SSTATE_SCAN_FILES += "Makefile"
|
||||
|
||||
Reference in New Issue
Block a user