]> code.ossystems Code Review - openembedded-core.git/commit
python3: python3: Fix build error x86->x86
authorRicardo Ribalda Delgado <ricardo@ribalda.com>
Wed, 19 Jun 2019 09:44:55 +0000 (11:44 +0200)
committerArmin Kuster <akuster808@gmail.com>
Sun, 10 Nov 2019 23:15:26 +0000 (15:15 -0800)
commit2f8086ce87bbb62ef971be4da80c2c2b9d8c9c66
tree94817f78f8746e62605057bc9e9c0360267eeda7
parentf3326309c7c22a6034917f6eee21908c61f44a2f
python3: python3: Fix build error x86->x86

When building x86->x86 the system will try to execute .so and related items
from the default PYTHONPATH.  This will fail if the target CPU contains
instructions that the host CPU does not have, add CROSSPYTHONPATH
into PYTHONPATH so we can prepend the list to find correct libs.

Fixes:

Illegal instruction (core dumped)
Makefile:625: recipe for target 'sharedmods' failed
make: *** [sharedmods] Error 132
make: *** Waiting for unfinished jobs....

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/python/python3/crosspythonpath.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3_3.7.4.bb