On Tue, 16 Oct 2007 22:09:04 +0200 (CEST) Jan Engelhardt <[EMAIL PROTECTED]> wrote: > On Oct 16 2007 13:06, Mark Gross wrote: > > > >base function: > >Starting from a stock distro (FC, Ubuntu, OpenSuSE...) and put down a > >kernel.org tree and automatically create a .config with all the > >drivers needed for the platform I'm building on. > > Too easy. Since opensuse's udev loads most of the modules for your > hardware, all that would be needed is to transform the lsmod list of > modules plus the static options in /proc/config.gz (stuff like > psmouse) back into kconfig options ;-)
Well, at that point it does not know whether or not you occasionally plug in an ipod or a digital camera. Going back from the lsmod output to all the right CONFIG options is also not as trivial as it sounds, due to all the dependencies there are. This project sounds like it could be a great undergraduate project, maybe built on top of Ketchup to automatically fetch, configure, compile and install a working kernel :) Are there any volunteers to write down the project description on the kernelnewbies.org wiki? -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/