]> code.ossystems Code Review - openembedded-core.git/commit
python-native: don't cause a full regeneration of the built sources
authorRoss Burton <ross.burton@intel.com>
Mon, 25 Nov 2019 17:22:21 +0000 (18:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Nov 2019 13:23:27 +0000 (13:23 +0000)
commit04f7e28963b413b88724c80f67787b440793570e
tree3eeedf94f1c4235715bebe610aefeafff99fdabc
parent8c164bb34b777db2cc3ed723d8397ce6fa040aac
python-native: don't cause a full regeneration of the built sources

When cross-compiling Python 2 you need a native pgen binary, but the cross
recipe can't do this on it's own so we build it in python-native and install it.

The rule to build pgen was also causing a complete rebuild of all of the
generated sources, which meant that building Python 2 needs a *host* Python 2.

This can be fixed by simply building pgen, as this is all we need to install.

[ YOCTO #13645 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python-native_2.7.17.bb