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>
main
Simon Glass 2017-04-05 10:01:38 -06:00 committed by David Gibson
parent 580a9f6c28
commit 1c5170d3a4
2 changed files with 1 additions and 1 deletions

View File

@ -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 $@ $<