Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | python3-native: run regen-importlib target correctly |
| 2 | |
| 3 | regen-importlib depends on other regen- targets, so we must be sure to |
| 4 | run it after (most of) the others. In reality, we do not need to run it |
| 5 | at all since "make" will invoke it, if necessary. We do not want to |
| 6 | rely on that, though. |
| 7 | |
| 8 | Upstream-Status: Pending |
| 9 | |
| 10 | Signed-off-by: Joe Slater <joe.slater@windriver.com> |
| 11 | |
| 12 | |
| 13 | |
| 14 | --- a/Makefile.pre.in |
| 15 | +++ b/Makefile.pre.in |
| 16 | @@ -709,7 +709,8 @@ regen-importlib: Programs/_freeze_import |
| 17 | ############################################################################ |
| 18 | # Regenerate all generated files |
| 19 | |
| 20 | -regen-all: regen-opcode regen-opcode-targets regen-typeslots regen-grammar regen-ast regen-importlib |
| 21 | +regen-all: regen-opcode regen-opcode-targets regen-typeslots regen-grammar regen-ast |
| 22 | + $(MAKE) regen-importlib |
| 23 | |
| 24 | ############################################################################ |
| 25 | # Special rules for object files |