]> code.ossystems Code Review - openembedded-core.git/commitdiff
python3-native: fix build races in 'make regen-all'
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Thu, 15 Mar 2018 16:54:58 +0000 (18:54 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Mar 2018 09:30:17 +0000 (09:30 +0000)
Python 2.x and target Python 3.x do not have this issue.

[YOCTO #12596]

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/python/python3-native_3.5.4.bb

index c8252539a99e167b2f8007c60d390ec06a69863c..a5dedb7aa75df3f2545e069602e8dc38763ece8e 100644 (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
 }