]> code.ossystems Code Review - openembedded-core.git/commit
python: Add patch for 64bit platform
authorAndrei Gherzan <andrei@gherzan.ro>
Thu, 5 Apr 2012 20:54:21 +0000 (23:54 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Apr 2012 23:02:27 +0000 (00:02 +0100)
commit4993f50744882ee384cb8fb106ad209f0d887b3f
tree4f280a3e71634e8970e7f7ba488b479a2aadc270
parent7bd803c9535afe5933d41f92da5208ae773e2abb
python: Add patch for 64bit platform

This patch was added for 64bit host machines. In the compile process python
is checking if platform is a 64bit platform using sys.maxint which is the host's
value. The patch fixes this issue so that python would check if TARGET machine
is 64bit not the HOST machine. In this way will have "dl" and "imageop" modules
built if HOST machine is 64bit but the target machine is 32bit.

[YOCTO #1937]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python/check-if-target-is-64b-not-host.patch [new file with mode: 0644]
meta/recipes-devtools/python/python_2.7.2.bb