[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47151FAA.2070603@debian.org>
Date: Tue, 16 Oct 2007 22:31:38 +0200
From: Giacomo Catenazzi <cate@...ian.org>
To: Jan Engelhardt <jengelh@...putergmbh.de>
CC: Mark Gross <mgross@...ux.intel.com>,
Sam Ravnborg <sam@...nborg.org>,
Rik van Riel <riel@...riel.com>, linux-kernel@...r.kernel.org
Subject: Re: WANTED: kernel projects for CS students
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
View attachment "mod" of type "text/plain" (216561 bytes)
View attachment "modules.py" of type "text/x-python" (3617 bytes)
Powered by blists - more mailing lists