]> code.ossystems Code Review - openembedded-core.git/commit
python: Fix cross compiling issue
authorJackie Huang <jackie.huang@windriver.com>
Fri, 27 Nov 2015 10:22:51 +0000 (18:22 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Dec 2015 23:31:40 +0000 (23:31 +0000)
commit1cda7afd4173100e4185ee8759f6b2770bc93b72
tree11e85eff5ff520ef15b44ef44b991183d9033387
parent4a4af31a03bb9d83ee859f0f39a2bf416cf56915
python: Fix cross compiling issue

If the target and host have the same type, the system
may try to execute the instructions from the target
version.  This can lead to illegal instructions
as well as the wrong copy of the code running.

Add CROSSPYTHONPATH for PYTHON_FOR_BUILD and export
the correct path to fix it.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/python/python/add-CROSSPYTHONPATH-for-PYTHON_FOR_BUILD.patch [new file with mode: 0644]
meta/recipes-devtools/python/python_2.7.9.bb