Re: [PATCH v2 5/6] pylibfdt: Rename libfdt.swig to libfdt.i

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Apr 04, 2017 at 09:18:18PM -0600, Simon Glass wrote:
> Hi David,
> 
> On 2 April 2017 at 22:37, David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> wrote:
> > 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).
> 
> If I don't do this I can't make the setup.py thing work. There might
> be a workaround but I don't know of it.
> 
> Since it is in a separate directory, do you think we could live with
> this?

Ah, I misread your description as implying the default could be
overridden.

Ok, I guess we can live with it, if the setuptools stuff really
doesn't like it otherwise.

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


[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux