Re: [kbuild-devel] Re: State of the new config & build system

Keith Owens
2002-01-06T22:21:30Z

On Sun, 6 Jan 2002 09:55:49 +0100,
Martin Mares <mj@ucw.cz> wrote:
>Is there any reason for processing all the files for each compile
>instead of merging them to a single file once at the start of the make?

The main reason is to convert absolute dependency names to $(xxx)
followed by a relative name, where xxx is one of the KBUILD_OBJTREE or
KBUILD_SRCTREE_nnn variables. This conversion allows users to rename
their source and object trees and to compile on one machine and install
on another over NFS without being bitten by absolute dependencies. I
really need to do that conversion using the current values of the
kbuild variables, the variables might have changed on the next make.

My new design for module symbol versions requires that the version data
be stored immediately after the compile. That also requires processing
after each compile using the current environment.