mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 08:18:43 +01:00
python3-native: correctly invoke regen-importlib make target
Redefiine regen-all in Makefile to invoke regen-importlib after building other regen- targets. Change the recipe to not build it before regen-all. This avoids trying to build it multiple times, which can occasionally fail. (From OE-Core rev: 72d62c9af07bf34bb8fbb3958742eb592985acc2) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
78c0b21e3d
commit
1d708bb185
25
meta/recipes-devtools/python/python3/regen-all.patch
Normal file
25
meta/recipes-devtools/python/python3/regen-all.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
python3-native: run regen-importlib target correctly
|
||||
|
||||
regen-importlib depends on other regen- targets, so we must be sure to
|
||||
run it after (most of) the others. In reality, we do not need to run it
|
||||
at all since "make" will invoke it, if necessary. We do not want to
|
||||
rely on that, though.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Joe Slater <joe.slater@windriver.com>
|
||||
|
||||
|
||||
|
||||
--- a/Makefile.pre.in
|
||||
+++ b/Makefile.pre.in
|
||||
@@ -709,7 +709,8 @@ regen-importlib: Programs/_freeze_import
|
||||
############################################################################
|
||||
# Regenerate all generated files
|
||||
|
||||
-regen-all: regen-opcode regen-opcode-targets regen-typeslots regen-grammar regen-ast regen-importlib
|
||||
+regen-all: regen-opcode regen-opcode-targets regen-typeslots regen-grammar regen-ast
|
||||
+ $(MAKE) regen-importlib
|
||||
|
||||
############################################################################
|
||||
# Special rules for object files
|
||||
Reference in New Issue
Block a user