[lkml]   [1996]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: source dependencies cleanup? (fwd)

Tom Zerucha ( wrote:

: Another possibility/suggestion: Is there any way to have everything it is
: possible for to be compiled as a module, and then do something like cat
: vmlinux slhc.o ppp.o 3c509.o ... endstub.o >vmlinux.all, and have the next
: step do a link, or build a chunk of insmod into the kernel? Then with the
: exception of things like PROC_FS, you could reselect the modules by
: changing the build instead of the config

A few days ago, I posted a kernel patch that lets you do almost
exactly what you're asking for...

95% of the kernel configuration options should really be re-done as
link-time options. Even if the remaining options were all left in one
config file, this would vastly improve things.

Personally, I think there should be as little conditionally compiled
code in the kernel as possible. If a kernel configuration option
requires a trivial amount of extra kernel code (like CONFIG_MAX_16M),
then just stick that code in the kernel and put it under control of a
boot parameter.

-- Dave Hinds

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