lkml.org 
[lkml]   [1999]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.2.0-pre6: Problem with module versions since
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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.129 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site