Re: Question on GIT usage.
- From
- Ryan 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.