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

From: Michael (Micksa) Slade (micksa@knobbits.org)
Date: Sun Jun 18 2000 - 12:03:11 EST


Mike Frisch 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 played around a bit (hint: "make -d|grep newer" is very helpful) and
found:
- include/linux/version.h depends on the root Makefile
- include/linux/module.h depends on include/linux/version.h
- just about everything depends on include/linux/module.h

This may not be what's causing the seemingly needless recompiles in both
your cases, but in any case you could try touching the root Makefile
with an old date after patching. It would be rather a gamble though,
unless you Know What You Are Doing.

Mick.

-- 
---===---===---===---===-+-===---===---===---===---===---===---===---==
Michael (Micksa) Slade   | "I don't want you playing with something
micksa@knobbits.org      | that has such bizarre hair" - Marge Simpson
http://www.knobbits.org/ |

- 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:16 EST