Re: 2.2.0-pre6: Problem with module versions since

Michael Elizabeth Chastain (mec@shout.net)
Mon, 11 Jan 1999 09:36:05 -0600


Hi Martin,

> Also, make dep seems to recurse through _all_ subdirectories,
> including ones I never use (like drivers/macintosh).
> ie: One goes through $(ALL_SUB_DIRS), the other through
> $(SUB_DIRS). Maybe it should recurse through
> $(sort $(SUB_DIRS) $(MOD_SUB_DIRS) $(MOD_IN_SUB_DIRS))

This is correct. 'make dep' needs to visit $(ALL_SUB_DIRS) so that if
you change your configuration, the dependency files are still correct.

scripts/mkdep is super fast, and it works properly even if the source
file includes header files that don't exist on your architecture, like
<asm/prom.h> in drivers/macintosh/adb.c.

You only get a problem if you turn CONFIG_MODVERSIONS on. Then it
tries to genksym files that aren't in your configuration and cpp
gives error messages. But 'make' ignores the errors so 'make dep'
staggers to completion.

Michael Elizabeth Chastain
<mailto:mec@shout.net>
"love without fear"

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