diff options
| -rw-r--r-- | meta/recipes-devtools/python/python-native_2.7.17.bb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-devtools/python/python-native_2.7.17.bb b/meta/recipes-devtools/python/python-native_2.7.17.bb index 936810d980..98805d998d 100644 --- a/meta/recipes-devtools/python/python-native_2.7.17.bb +++ b/meta/recipes-devtools/python/python-native_2.7.17.bb | |||
| @@ -35,10 +35,9 @@ do_configure_append() { | |||
| 35 | autoreconf --verbose --install --force --exclude=autopoint ../Python-${PV}/Modules/_ctypes/libffi | 35 | autoreconf --verbose --install --force --exclude=autopoint ../Python-${PV}/Modules/_ctypes/libffi |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | # Regenerate all of the generated files | 38 | # Cross-compiling Python needs a native pgen, build it here for use later. |
| 39 | # This ensures that pgen and friends get created during the compile phase | 39 | do_compile_append() { |
| 40 | do_compile_prepend() { | 40 | oe_runmake Parser/pgen |
| 41 | oe_runmake regen-all | ||
| 42 | } | 41 | } |
| 43 | 42 | ||
| 44 | do_install() { | 43 | do_install() { |
