Re: basics... when reading docs doesn't help
- From
- Guennadi Liakhovetski <g.liakhovetski@gmx.de>
- Date
- Mar 30, 2007, 18:24 UTC
- Message-ID
- <Pine.LNX.4.60.0703302022020.4757@poirot.grange>
- In-Reply-To
- <20070330180211.GI16087@alberich.amd.com>
On Fri, 30 Mar 2007, Andreas Herrmann wrote:
Show 15 quoted lines
> Seems to be trivial but: > Why don't you use "make O=/foo/bar/arch<x>-config<y>" to put output > files into separate directories? So you can have one source tree and > put each different kernel config and arch into a separate output > directory. > > And if you have different sources for you trees put them into branches. > > When switching between branches, atime of files are updated accordingly. > So even make should be happy with that. > > Just one drawback: > Switching back and forth between two branches will cause > recompilation of sources that differ between that branches - > although nothing might have changed within a branch in the meantime.
Exactly, and since I have not only different configs, but also different versions, and I don't commit all modifications, so... It would be difficult. I think, the setup with "clone -l -s" should be the best.
Thanks to all for ideas Guennadi --- Guennadi Liakhovetski