libfdt as its own repo and submodule of dtc?

Kumar Gala galak at kernel.crashing.org
Thu Nov 1 17:55:30 EST 2007


On Oct 30, 2007, at 6:40 PM, David Gibson wrote:

> On Tue, Oct 30, 2007 at 01:14:06PM -0400, Jerry Van Baren wrote:
>> Jon Loeliger wrote:
>>> So, like, the other day Kumar Gala mumbled:
>>>> Jon,
>>>>
>>>> It seems like have libfdt as a unique git repo that is a  
>>>> submodule of
>>>> the things that need it (dtc, u-boot, etc.) might make some  
>>>> sense and  it
>>>> easier for the projects that need to pull it in.
>>>>
>>>> Is this something you can take a look at? (or have other ideas on).
>>> I would be fine with making libfdt a git repository separate
>>> from the DTC repository if that makes it easier to integrate
>>> it with other projects.
>
> I don't think it's a good idea to make dtc and libfdt entirely
> seperate repositories (again).  Being able to use both together in
> their combined testsuite is very useful (libfdt is used to check trees
> generated by dtc, dtc is used to generate example trees for libfdt
> testing).
>
> I'm not sure how submodules/subrepositories work so I don't know if
> that makes sense.

I believe submodules will accomplish this (at least from what I can  
tell).

- k





More information about the Linuxppc-dev mailing list