git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Question on GIT usage.

From
RARyan Anderson <ryan@michonline.com>
Date
Oct 29, 2005, 01:43 UTC
Message-ID
<4362D3BB.3050601@michonline.com>
In-Reply-To
<4362C700.6020901@candelatech.com>
Ben Greear wrote:
Show 14 quoted lines
> 
> I have a kernel GIT tree to hold my developing patches...
> 
> I need to build this kernel for 4-5 different processors (c3, p2, p4,
> p4-smp, etc).
> 
> Is there any clever way to have this one git repository keep these
> other source trees in sync so that I can do incremental builds?
> 
> Should I perhaps have a unique git repo for each different build and
> just pull changes in from my master repo before building?
> 
> If there's a simple command to set up slave repositories like this,
> please point me to it.

There isn't, not really - but in the kernel's case, you don't need one, either.

Build with:
	make O=/path/to/c3/tree
Put your .config in /path/to/c3/tree/

All your compiled stuff will drop into that tree, and your source tree will stay untouched, so you can have a single GIT tree and source files.

Previous: Ben GreearNext: Linus Torvalds
Message 2 of 9 in “Question on GIT usage.”
  1. Ben GreearOct 29, 2005
  2. Ryan AndersonOct 29, 2005
  3. Linus TorvaldsOct 29, 2005
  4. Daniel BarkalowOct 31, 2005
  5. Linus TorvaldsOct 31, 2005
  6. Daniel BarkalowOct 31, 2005
  7. Linus TorvaldsOct 31, 2005
  8. Daniel BarkalowOct 31, 2005
  9. Junio C HamanoNov 1, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.