grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch: allow the 'python' used to run gentpl.py to be configured


From: Daniel Kiper
Subject: Re: Patch: allow the 'python' used to run gentpl.py to be configured
Date: Fri, 6 Jul 2018 19:25:45 +0200
User-agent: Mutt/1.3.28i

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 <address@hidden>

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]