public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Matthias-Christian Ott <matthias.christian@tiscali.de>
Cc: linux-kernel@vger.kernel.org,
	Scott Robert Ladd <lkml@coyotegulch.com>,
	jmerkey <jmerkey@utah-nac.org>
Subject: Re: Automatic .config generation
Date: Thu, 12 May 2005 14:49:06 -0400	[thread overview]
Message-ID: <1115923746.7125.5.camel@localhost.localdomain> (raw)
In-Reply-To: <42839EAC.3070802@tiscali.de>

[-- Attachment #1: Type: text/plain, Size: 943 bytes --]

On Thu, 2005-05-12 at 20:21 +0200, Matthias-Christian Ott wrote:
> jmerkey wrote:
> > Scott Robert Ladd wrote:
> > 
> > Now that's a great idea ..... :-)
> > Jeff
> > 
> >> Is there a utility that creates a .config based on analysis of the
> >> target system?
> >> -

This probably isn't what you are looking for, but I posted this a while
back, and have found this useful for myself.  

I wrote a simple perl script (attached) to turn off all the modules that
are not being used on the current system. Obviously if you have a USB
device that's not attached, it would get turned off too. But this was
nice to see what modules I actually needed to get a system running.

You first compile the kernel with the default distribution .config.
Then run this script in the directory of the kernel that's running, and
has that .config available. The output of a .config with all non
necessary modules turned off is sent to standard output.

-- Steve


[-- Attachment #2: streamline_config.pl --]
[-- Type: application/x-perl, Size: 2851 bytes --]

  reply	other threads:[~2005-05-12 18:49 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-12 18:05 Automatic .config generation Scott Robert Ladd
2005-05-12 17:07 ` jmerkey
2005-05-12 18:21   ` Matthias-Christian Ott
2005-05-12 18:49     ` Steven Rostedt [this message]
2005-05-12 18:33   ` Lennart Sorensen
2005-05-12 21:17   ` Edgar Toernig
2005-05-15  7:03     ` Borislav Petkov
2005-05-15  7:42       ` Valdis.Kletnieks
2005-05-15  9:52         ` Jesper Juhl
2005-05-15 11:13           ` Valdis.Kletnieks
2005-05-16 12:50             ` Steven Rostedt
2005-05-15 14:08           ` Scott Robert Ladd
2005-05-15 13:52     ` aq
  -- strict thread matches above, loose matches on Subject: below --
2005-09-06  9:02 Ahmad Reza Cheraghi
2005-09-06  9:12 Ahmad Reza Cheraghi
2005-09-08 20:39 Ahmad Reza Cheraghi
2005-09-08 21:13 ` Alex Riesen
2005-09-09  7:48   ` Ahmad Reza Cheraghi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1115923746.7125.5.camel@localhost.localdomain \
    --to=rostedt@goodmis.org \
    --cc=jmerkey@utah-nac.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@coyotegulch.com \
    --cc=matthias.christian@tiscali.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox