Re: [U-Boot] [PATCH] Makefile: honor PYTHON configuration properly

2017-08-13 Thread Jonathan Gray
On Sun, Aug 13, 2017 at 11:04:03PM +0200, Cl??ment B??sch wrote: > --- > Makefile | 2 +- > tools/Makefile | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) There is a similiar fragment in scripts/Makefile.spl with the checkdtoc target that should also be fixed. checkdtoc: tools

[U-Boot] [PATCH] Makefile: honor PYTHON configuration properly

2017-08-13 Thread Clément Bœsch
On some systems `python` is `python3` (for instance, Archlinux). The `PYTHON` variable can be used to point to `python2` to have a successful build. The use of `PYTHON` is currently limited in the Makefile and needs to be extended to at 2 other cases: First, pylibfdt is required to be a Python 2

Re: [U-Boot] [PATCH] Makefile: honor PYTHON configuration properly

2017-08-13 Thread Tom Rini
On Sun, Aug 13, 2017 at 11:04:03PM +0200, Clément Bœsch wrote: > --- > Makefile | 2 +- > tools/Makefile | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Makefile b/Makefile > index 50a002e72f..1f70144e0a 100644 > --- a/Makefile > +++ b/Makefile > @@ -1378,7 +137

[U-Boot] [PATCH] Makefile: honor PYTHON configuration properly

2017-08-13 Thread Clément Bœsch
--- Makefile | 2 +- tools/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 50a002e72f..1f70144e0a 100644 --- a/Makefile +++ b/Makefile @@ -1378,7 +1378,7 @@ $(timestamp_h): $(srctree)/Makefile FORCE $(call filechk,timestamp.h)