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() { autoreconf --verbose --install --force --exclude=autopoint ../Python-${PV}/Modules/_ctypes/libffi } -# Regenerate all of the generated files -# This ensures that pgen and friends get created during the compile phase -do_compile_prepend() { - oe_runmake regen-all +# Cross-compiling Python needs a native pgen, build it here for use later. +do_compile_append() { + oe_runmake Parser/pgen } do_install() { |