pylibfdt: Use Python 2 in Makefile
authorJosef Lusticky <josef@lusticky.cz>
Tue, 8 Jan 2019 13:19:46 +0000 (14:19 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Jan 2019 20:28:45 +0000 (15:28 -0500)
commit03e6151d5bb42fd055e9c1e571440359bd5b5282
tree11db6775d9d5fbdd20083a2a7cf36d3ed894686c
parent05f6da3fac8abf4356f4cc7ed5904943eec82535
pylibfdt: Use Python 2 in Makefile

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.
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/dtc/pylibfdt/Makefile