summaryrefslogtreecommitdiff
path: root/pylibfdt
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-04-05 10:01:38 -0600
committerDavid Gibson <david@gibson.dropbear.id.au>2017-04-07 15:43:34 +1000
commit1c5170d3a466dc96ec67c08f71a570631b404c62 (patch)
tree169dd95e1ab72325f424d2a96340e226ce57e9af /pylibfdt
parent580a9f6c288079e952eae6707c267644338f7c7b (diff)
downloaddevice-tree-compiler-1c5170d3a466dc96ec67c08f71a570631b404c62.tar.gz
pylibfdt: Rename libfdt.swig to libfdt.i
The .i extension allows Python distutils to automatically handle the swig file. Rename it. Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'pylibfdt')
-rw-r--r--pylibfdt/Makefile.pylibfdt2
-rw-r--r--pylibfdt/libfdt.i (renamed from pylibfdt/libfdt.swig)0
2 files changed, 1 insertions, 1 deletions
diff --git a/pylibfdt/Makefile.pylibfdt b/pylibfdt/Makefile.pylibfdt
index 0d95c11..06f9296 100644
--- a/pylibfdt/Makefile.pylibfdt
+++ b/pylibfdt/Makefile.pylibfdt
@@ -13,7 +13,7 @@ $(PYMODULE): $(PYLIBFDT_srcs) $(WRAP)
@$(VECHO) PYMOD $@
$(call run_setup, $^, build_ext --inplace)
-$(WRAP): $(PYLIBFDT_srcdir)/libfdt.swig
+$(WRAP): $(PYLIBFDT_srcdir)/libfdt.i
@$(VECHO) SWIG $@
$(SWIG) -python -o $@ $<
diff --git a/pylibfdt/libfdt.swig b/pylibfdt/libfdt.i
index cd1c6a9..cd1c6a9 100644
--- a/pylibfdt/libfdt.swig
+++ b/pylibfdt/libfdt.i