On Sun, 07 Apr 2002 16:51:36 +0200,
Roman Zippel <[EMAIL PROTECTED]> wrote:
>Keith Owens wrote:
>> make NO_MAKEFILE_GEN=1 foo/bar.o. Very low overhead for quick and
>> dirty testing of changes, but if you want an accurate kernel build, you
>> have to take the overhead. kbuild 2.4 overhead for a full build when
>> only minor changes have been made is even worse.
>I don't want a kernel build, I just want a single object file to be
>I can understand that it takes longer, when I change a Makefile or the
>config, but why has the Makefile to be rebuilt, when only a source file
It takes time to do all the analysis to work out what has changed and
what has been affected. You might know that you only changed one file
but kernel build and make don't know that until they have checked
everything. Changing one file or specifying a command override might
affect one file or it might affect the entire kernel.
If you know that you have only changed one source file and you have not
altered the Makefiles or the dependency chain in any way, then it
_might_ be safe to just rebuild that one file, use NO_MAKEFILE_GEN=1.
Otherwise let kbuild work out what has been affected.
kbuild-devel mailing list