Re: corrupt modversions.h built in 2.2.13

Theodore Y. Ts'o (tytso@mit.edu)
Fri, 22 Oct 1999 22:04:16 -0400


Date: Fri, 22 Oct 1999 19:54:58 -0500
From: Michael Elizabeth Chastain <mec@shout.net>

There is a problem here: include/linux/modversions.h needs to be
rebuilt before compiling *.c in the subsidiary makes.

I was assuminig that if the programmer made any changes which might
impact modverions, that they would be smart enough to know that they
needed to do a "make depend" first, which would generate a new
modversions.h.

Your idea of a two-pass scheme is nice, but it means that whenever you
do a "make vmlinuz", you have to do one quick recursion down the tree to
check to see if modversions.h needs to be updated, and then another
recursion to actually do the compile.

The design question is whether it's worth it to force programmers to
wait through the extra recursion, or simply ask programmers to re-run
"make depend" manually.

- Ted

-
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/