Use Python3 by default

Python2 is deprecated upstream, lets try to move forwards. Along with it
generalize the .gitignore file so we ignore the .pyc files in the new
location that Python3 uses.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
David Gibson 2019-03-29 15:13:10 +11:00
parent cca6546244
commit 26ee65a16c
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ BISON = bison
LEX = flex
SWIG = swig
PKG_CONFIG ?= pkg-config
PYTHON ?= python2
PYTHON ?= python3
INSTALL = /usr/bin/install
INSTALL_PROGRAM = $(INSTALL)

2
pylibfdt/.gitignore vendored
View file

@ -1,3 +1,3 @@
libfdt.py
libfdt.pyc
*.pyc
libfdt_wrap.c