On Mon, 13 Sep 2004 15:11:23 +0200, Jan Hudec <bulb@xxxxxx> wrote: > On Mon, Sep 13, 2004 at 08:28:56 -0400, Ed L Cashin wrote: > > aq <aquynh@xxxxxxxxx> writes: > > > I think it would be very nice for "make menuconfig" first trying to > > > detect what devices are available in the machine, then it "optimize" > > > the selection of drivers to be compiled. After that user can refine > > > what they want or not in the kernel. > > > Is there any way to do that kind of thing ? > > Yes, you could do that. Probably nobody has because it would be > > difficult and/or error prone, while it's easy to build more modules > > than you need. The ones that aren't needed never get loaded. > > Don't let me stop you, though. You could use lcpci and dmesg to get a > > starting idea of what the system has. > Except it's such a horrible mess, that it's almost impossible. Some news website story was recently linked on slashdot, which proposed that this is the future for kernel compilation. Sounds like someone was desperate for copy. I can't recall which story this was now - anyone? Cheers, Jon. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/