Re: Very touchy eager-to-remake make or kernel makefiles?

From: Mike Frisch (mfrisch@saturn.tlug.org)
Date: Sun Jun 18 2000 - 11:25:10 EST


On Sun, 18 Jun 2000, Russell King wrote:

> I've just noticed that yet again make seems to be building a lot of
> files for apparantly no reason.

I noticed a similar problem when patching a previously compiled 2.2.16
source tree with the latest NFSv3 patches. The updated RPC files caused
various unrelated files to be rebuilt (ie. ../fs/proc/scsi.c).

> I'm confused why make should behave like this. Any ideas? It's
> a shame make doesn't have an option which causes it to print just
> the reason (not its complete database) for the compilation of a
> file.

I'm sorry I don't have a solution, but I'd like to see one given the fact
that kernel rebuilds take a _long_ time on a P100/32MB :-)

As for 'make', this is one place where (dare, I say) Microsoft's 'nmake'
excels. It has a '-d' command-line option that displays the dependency
list for all targets. When working with large projects, it's a fantastic
way to find broken makefiles.

Mike.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:15 EST