Re: Symbol links to only needed and targeted source files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sam,

You misunderstand me I think, I already using a separate output directory.
What I like to do is a separate 'source tree' with only valid files
for my configuration. In that way, when I use grep for instance,
I would only hit valid files and not 50 other files which are
not in the current build configuration.

On 1/3/07, Sam Ravnborg <[email protected]> wrote:
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux