Re: [PATCH 2/2] kbuild: Improved external module support

From: Sam Ravnborg
Date: Sun Jun 20 2004 - 16:36:51 EST


On Sun, Jun 20, 2004 at 11:25:29PM +0200, Arjan van de Ven wrote:
>
> > # 3) The build symlink now points to the output of the kernel
> > # compile.
> > # - When a kernel is compiled with output and source
> > # mixed, the build and source symlinks will point
> > # to the same directory. In this case there is
> > # no change in behaviour.
>
> > # It is recommended that distributions pick up this
> > # method, and especially start shipping kernel output and
> > # source separately.
> > #
>
> I don't see the point of this; module builds don't use the output of the
> kernel compile but the SOURCE, eg the headers and Makefiles.
When building modules they use _both_ the source and partly the output.
The output needed is what is required for kbuild to work, and optionally
Module.symvers for symbol versions.

> I don't see a reason for this change; at least what I ship right now for
> the Fedora Core 2 kernel seems to work for all modules with sane
> makefiles so far....

Did you put the output of the kernel compile in a separate output directory,
reusing the same src for several configurations?
If not you do not need the change, and thus do not get any benefit. On the
other hand everything should work as-is for you.

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/