Re: [PATCH] kbuild: Improve Kernel build with separated output

From: Ricky Beam
Date: Tue Jun 22 2004 - 17:18:39 EST


On Tue, 22 Jun 2004, Sam Ravnborg wrote:
>1) A Makefile is generated in the output directory allowing
> one to execute make in both the source and the output directory.

I would vote against doing that. Or at the very least don't overwrite one
that might already be there. I, for one, have a very specific makefile in
my build (object) directories. Anyone sufficiently skilled to be building
kernels outside the source tree, and/or those with the specific need to be
doing so will already have makefiles and/or shell scripts to suit their
needs. Making the option a user specified target ala "make makefiles"
would be a better/safer choice; if the user wants or needs a makefile in
their object directory, then they have a simple option to make themselves
one -- no knowledge of GNU Make necessary.

And in my case(s), the source and object symlinks will be of no value. The
next "bk pull" and build invalidates those links. And once the kernel(s)
are installed on their respective target machines, there won't be any
source or object trees.

--Ricky


-
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/