Re: [PATCH v5] dtb: Create a common home for cross-architecture dtsi files.

From: Ian Campbell
Date: Tue Sep 01 2015 - 04:44:36 EST


On Mon, 2015-08-24 at 15:22 -0700, Olof Johansson wrote:
> Hi,
>
> On Mon, Aug 24, 2015 at 1:58 PM, Rob Herring <robherring2@xxxxxxxxx>
> wrote:
> > On Sun, Aug 23, 2015 at 6:52 PM, Olof Johansson <olof@xxxxxxxxx> wrote:
> > > On Sun, Aug 23, 2015 at 4:42 PM, Rob Herring <robherring2@xxxxxxxxx>
> > > wrote:
> > > > On Sun, Aug 23, 2015 at 6:13 PM, Olof Johansson <olof@xxxxxxxxx>
> > > > wrote:
> > > > >
> > > Right now it's not possible to do even per-arch "all-dtbs" since only
> > > the currently configured platforms will get their dtbs compiled.
> >
> > I know. It's been on my todo list for a while. Having that per arch at
> > least would be an improvement. Having it arch independent would mean I
> > don't even need a cross-compiler (probably).
>
> Yeah, seems like something that should work quite well in the scope of
> Ian's tree if nothing else.

In the split tree "make all -k" will already build every dtb (and always
has done), in fact this is how I discovered the breakage which I'm trying
to address with this patch since the daily cronjob which does the
conversion runs this.

> Something like lib/ seems more appropriate. Or drivers/..., but I
> suspect that could cause further confusion on the expected separation
> of binding/hardware description and the consuming drivers.

I'm quite happy to rework the patch with whatever path is settled upon.

Or if someone has an alternative suggestion for how to fix the build in the
split devicetree git tree I'm happy to give that a go too.

> > > > We could also see sharing between PPC and ARM on FSL networking
> > > > parts,
> > > > but I've not heard if they actually have that problem.
> > >
> > > Yeah, there could potentially be some sharing between MIPS and
> > > ARM{,64} too, but I don't know if we'll actually see it done.
> >
> > Yep, hard to say.
> >
> > Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/