platform_external_dtc/pylibfdt
David Gibson 8c1eb1526d pylibfdt: Use Python2 explicitly
The pylibfdt code is written for Python2, not Python3.  So, it's safer to
explicitly request Python2 in our scripts and when checking pkg-config.

On Arch Linux at least, there isn't actually a plain "python" link, just
"python2" and "python3", so the current setup won't work at all.

According to https://www.python.org/dev/peps/pep-0394/ using "python2"
should work, and is preferred.

Updating pylibfdt to work with Python3 would be nice, but is a problem for
another day.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2017-09-27 18:10:02 +10:00
..
.gitignore Add an initial Python library for libfdt 2017-03-21 16:21:58 +11:00
libfdt.i pylibfdt: Add support for fdt_subnode_offset() 2017-08-21 10:17:57 +10:00
Makefile.pylibfdt pylibfdt: Use setup.py to build the swig file 2017-04-08 11:54:07 +10:00
setup.py pylibfdt: Use Python2 explicitly 2017-09-27 18:10:02 +10:00