[U-Boot] [PATCH] pylibfdt: Use Python 2 in Makefile

Tom Rini trini at konsulko.com
Thu Jan 10 16:07:32 UTC 2019


On Thu, Jan 10, 2019 at 05:56:56AM -0700, Simon Glass wrote:
> On Tue, 8 Jan 2019 at 06:19, Josef Lusticky <josef at lusticky.cz> wrote:
> >
> > pylibfdt needs Python 2 to build.
> > Replace $(PYTHON) with $(PYTHON2) in pylibfdt Makefile
> > to ensure Python 2 is used to build it.
> >
> > This fixes build on systems where Python 3 is the default version
> > of the "python" interpreter.
> > ---
> >  scripts/dtc/pylibfdt/Makefile | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 
> At some point we should sync this with upstream which I think plans to
> support both.

Given the impending death of Python2, that's good news.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190110/01d13623/attachment.sig>


More information about the U-Boot mailing list