[U-Boot] libfdt SWIG build error with Python 3.x
Joakim Tjernlund
Joakim.Tjernlund at infinera.com
Thu Feb 9 19:43:25 UTC 2017
On Thu, 2017-02-09 at 13:17 +0000, Ricardo Martins wrote:
> In some Linux distributions (e.g., Arch Linux) the Python binary points to
> Python 3.x instead of Python 2.x. This is an issue when building the libfdt
> SWIG extension, as the generated extension file will be called something
> like _libfdt.cpython-36m-x86_64-linux-gnu.so instead of just _libfdt.so. By
> simply changing python to python2 in tools/Makefile this issue goes away.
> Should I submit a patch to fix this ?
Yes
Please include tools/binman/binman.py too as it has the same problem.
I guess most python programs is python2 only so if you can find
more of them, fix these too.
More information about the U-Boot
mailing list