On Wed, Mar 29, 2017 at 12:15:40PM -0600, Simon Glass wrote: > The .i extension allows Python distutils to automatically handle the swig > file. Rename it. > > Signed-off-by: Simon Glass <sjg@xxxxxxxxxxxx> Uh.. please don't. The existing Makefiles use %.i as a target for preprocessed-but-not-compiled sources (occasionally useful for debugging). > --- > > Changes in v2: > - Add new patch to rename libfdt.swig to libfdt.i > > 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 -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
Attachment:
signature.asc
Description: PGP signature