Browse Source

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>
main
David Gibson 6 years ago
parent
commit
26ee65a16c
  1. 2
      Makefile
  2. 2
      pylibfdt/.gitignore

2
Makefile

@ -24,7 +24,7 @@ BISON = bison @@ -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

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

Loading…
Cancel
Save