python3-native: fix build races in 'make regen-all'

Python 2.x and target Python 3.x do not have this issue.

[YOCTO #12596]

(From OE-Core rev: 5bfba3d09cfabb3a1895dcf9921801df318d804c)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2018-03-15 18:54:58 +02:00
committed by Richard Purdie
parent 649d23696f
commit 066700462a

View File

@@ -64,6 +64,8 @@ do_configure_append() {
# Regenerate all of the generated files
# This ensures that pgen and friends get created during the compile phase
do_compile_prepend() {
# Has to be done ahead of other regen- targets due to https://bugs.python.org/issue33080
oe_runmake regen-importlib
oe_runmake regen-all
}