linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Jerry Van Baren <gerald.vanbaren@ge.com>
Cc: linux-ppc list <linuxppc-dev@ozlabs.org>, Jon Loeliger <jdl@jdl.com>
Subject: Re: libfdt as its own repo and submodule of dtc?
Date: Wed, 31 Oct 2007 10:40:11 +1100	[thread overview]
Message-ID: <20071030234011.GE2784@localhost.localdomain> (raw)
In-Reply-To: <4727665E.1070109@ge.com>

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.

> That sounds like a good idea to me.  I would really prefer pulling patches 
> out of a libfdt repo into the u-boot repo rather than trying to kerchunk 
> upgrade lumps.  While we can do this with a dtc repo, it potentially makes 
> it a lot more difficult.

I don't think upgrading embedded copies by diff is a good way to go.
The upgrade method I had in mind was to pull out a whole new copy of
libfdt, drop that into the embedding project verbatim and generate a
new diff there in whatever their source tracking system is.  I set out
the repository to make this easy.

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

  reply	other threads:[~2007-10-30 23:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-30 15:23 libfdt as its own repo and submodule of dtc? Kumar Gala
2007-10-30 15:56 ` Jon Loeliger
2007-10-30 17:14   ` Jerry Van Baren
2007-10-30 23:40     ` David Gibson [this message]
2007-10-31 12:50       ` Jerry Van Baren
2007-11-01  6:55       ` Kumar Gala
2007-10-31 22:56         ` David Gibson
2007-11-01 14:04           ` Jon Loeliger
2007-11-02  0:34             ` David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071030234011.GE2784@localhost.localdomain \
    --to=david@gibson.dropbear.id.au \
    --cc=gerald.vanbaren@ge.com \
    --cc=jdl@jdl.com \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).