Message ID | 20191125172224.82269-2-alex.kanavin@gmail.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
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 936810d9806..98805d998d5 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() {