diff options
author | Simon Glass <sjg@chromium.org> | 2019-10-31 07:42:59 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-11-04 18:15:32 -0700 |
commit | b4cf5f1df741e8781bed6149291823cd1a4b8baa (patch) | |
tree | 3128d78456e1b6877c23b42a59937399cdda839b /scripts/dtc/pylibfdt/Makefile | |
parent | 5effab0549da404e0f2c21a3f7585aa643f54fc8 (diff) | |
download | u-boot-b4cf5f1df741e8781bed6149291823cd1a4b8baa.tar.gz u-boot-b4cf5f1df741e8781bed6149291823cd1a4b8baa.tar.xz u-boot-b4cf5f1df741e8781bed6149291823cd1a4b8baa.zip |
pylibfdt: Convert to Python 3
Build this swig module with Python 3.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts/dtc/pylibfdt/Makefile')
-rw-r--r-- | scripts/dtc/pylibfdt/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dtc/pylibfdt/Makefile b/scripts/dtc/pylibfdt/Makefile index 15e66ad44d..42342c75bb 100644 --- a/scripts/dtc/pylibfdt/Makefile +++ b/scripts/dtc/pylibfdt/Makefile @@ -21,7 +21,7 @@ quiet_cmd_pymod = PYMOD $@ CPPFLAGS="$(HOSTCFLAGS) -I$(LIBFDT_srcdir)" OBJDIR=$(obj) \ SOURCES="$(PYLIBFDT_srcs)" \ SWIG_OPTS="-I$(LIBFDT_srcdir) -I$(LIBFDT_srcdir)/.." \ - $(PYTHON2) $< --quiet build_ext --inplace + $(PYTHON3) $< --quiet build_ext --inplace $(obj)/_libfdt.so: $(src)/setup.py $(PYLIBFDT_srcs) FORCE $(call if_changed,pymod) |