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>
# 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
}