On Wed, Jul 04, 2018 at 10:08:53AM -0700, Adam Williamson wrote:
> gentpl.py is python2/3-agnostic, but there's no way to cause it
> to be run with any interpreter other than 'python', it's just
> hard-coded into Makefile.common that way. Adjust that to allow
> a make variable PYTHONBIN to be set to the desired interpreter.
> This will make it easier in situations where we specifically
> want to build with 'python2' or 'python3' or whatever.
>
> Signed-off-by: Adam Williamson <awill...@redhat.com>

Thanks for the patch. However, I think that the configure should find
correct python binary and set PYTHON variable (instead of PYTHONBIN)
in the Makefile (good example is BUILD_CC variable in Makefile.in).
And there are more references to the python binary in other makefiles
which should be fixed too.

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to