diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2019-06-13 08:49:10 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-14 22:48:22 +0100 |
commit | 53099ced25bd86cfb45c42ad50a42e220b65fb6b (patch) | |
tree | f381d91d21804098a03dfef0901c6010c7bf37e6 /meta/recipes-core | |
parent | b168b3ac94f2a35eea0bbb82ddd67e466dbfb5ba (diff) | |
download | poky-53099ced25bd86cfb45c42ad50a42e220b65fb6b.tar.gz |
scons: inherit python3native
scons tries to get build time vars by loading sysconfigdata. Inherit
python3native instead of using host python and unset
_PYTHON_SYSCONFIGDATA_NAME to avoid the need to depend on target
python3 for sysconfigdata when using scons to build.
Avoids build errors on still supported CentOS 7:
| DEBUG: Executing shell function do_compile
| scons: *** SCons version 3.0.5 does not run under Python version
3.4.8.
| Python 2.7 or >= 3.5 is required.
(From OE-Core rev: 44f303ba9fb193a985e8e4b7c6962883ae3970d1)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
0 files changed, 0 insertions, 0 deletions