kaos> Forget MOD_LIST_NAME. Remove linux/modules entirely. Copy modules to
kaos> /lib/modules/`uname -r` in the same tree as the kernel.
Sounds good to me.
In another message you mentioned keeping linux/modules as a staging
area. I am neutral on that.
In another message you mention:
kaos> The only problem is that make modules_install takes 11 seconds
kaos> instead of 3, most of that is due to the recursive make overhead.
I prefer an 11-second procedure that works correctly to a 3-second
process that is full of bugs.
I know how to cut out a decent chunk of the recursive Make overhead.
Look at this section:
#
# Get things started.
#
first_rule: sub_dirs
$(MAKE) all_targets
This causes two recursive invocations per directory level. Instead,
try this:
# Get things started.
first_rule: sub_dirs all_targets
# Require that sub_dirs be done before all_targets.
all_targets: sub_dirs
The second rule is needed to guarantee the order of execution in
parallel builds (descend the subdirectories first because sometimes
targets in the current directory depend on them).
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/
This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:34 EST