re: "Make modules" dependency

Todd Fries (tfries@umr.edu)
Tue, 27 Jun 1995 04:11:37 +0000 (GMT)


> I'm compiling 1.3.11, and "make modules" always recompile all modules
> without checking for dependency. Can the makefiles be fixed? It is quite
> annoying, esp. since "make modules" hasn't worked all the way to the end
> for me since 1.3.x... It is bad trying to track why a module won't
> compile, it's worse having to recompile everything before it each time...

This has been a thorn in my side as well. The 'quick and dirty' solution I
always end up using is to change the order of the objects / SUBDIRS= in
the individual makefiles so that the module I want to compile is compiled
first.

Jim Nance has been working on changing this. He is slowly getting a few of
his ideas into the kernel tree at a time (too slowly, imho, but that's for
Linus to decide, not Jim or myself.) Jim is working towards a central
'rules' file for all 'common' rules between makefiles, which then provides
a lot of flexibility in terms of changing the 'rules' globablly.

Jim: Keep up the good work!
Linus: Please continue to add Jim's makefile suggestions to the kernel...I
find them much more efficient not only in compiling time and
flexibility, but also in space.

My $.02...

-- 
Todd Fries...tfries@umr.edu