]> code.ossystems Code Review - openembedded-core.git/commit
python3: fix for cross compiling
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 19 Jan 2015 03:10:32 +0000 (19:10 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Jan 2015 11:35:24 +0000 (11:35 +0000)
commitc33639963491f00f55b80299922895fe68b0637d
tree976341a8546e2c292a9b7c6cd1a351f481bd4205
parentc776fd463902594e77cf9a8199039714a078437c
python3: fix for cross compiling

Fixed:
* python3 has introduced _PYTHON_PROJECT_BASE which is used for separate
  B and S, but it doesn't work when compile Modules, the target python3 runs
  python3-native's sysconfig to get srcdir which is the native's, there
  would be errors when native's srcdir has been removed, add
  _PYTHON_PROJECT_SRC to fix the problem.

* Check cross_compiling when get FLAGS

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-devtools/python/python3-native_3.3.3.bb
meta/recipes-devtools/python/python3/setup.py-check-cross_compiling-when-get-FLAGS.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3/sysconfig.py-add-_PYTHON_PROJECT_SRC.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3_3.3.3.bb