From 1c5170d3a466dc96ec67c08f71a570631b404c62 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 5 Apr 2017 10:01:38 -0600 Subject: [PATCH] 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 Suggested-by: Mike Frysinger Signed-off-by: David Gibson --- pylibfdt/Makefile.pylibfdt | 2 +- pylibfdt/{libfdt.swig => libfdt.i} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename pylibfdt/{libfdt.swig => libfdt.i} (100%) 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 similarity index 100% rename from pylibfdt/libfdt.swig rename to pylibfdt/libfdt.i