Re: Symbol links to only needed and targeted source files

From: Sam Ravnborg
Date: Wed Jan 03 2007 - 11:24:48 EST


On Wed, Jan 03, 2007 at 04:24:11PM +0100, Pelle Svensson wrote:
> Hi,
>
> I would like to set up a directory with only links to the source files
> I use during the building of the kernel. The development ide/editor
> will target this directory instead of main source tree. The benefit of this
> is that I don't need to bother about files that are not included
> by the configuration.

Anohter approach would be to use a separate output directory.
In this way you have all generated files in a separate place which
should solve your needs.

To use it do like this:

make mrproper <= To get a clean starting point
mkdir ../o
make O=../o defconfig <= or some other config target
cd ../o
make

Se also README.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/