Jan Engelhardt 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 ;-) but than you miss the UBS devices that you eventually plug in. Anyway, in attachment I send: a python script that will create the "mod" file. Call it with one argument: the kernel source directory. The second file "mod" is the output: it lists module with proper dependencies. BTW I'm restoring the autoconfiguration (but more hackerish that the old tante versions ;-) ) ciao cate