|
|
Log in / Subscribe / Register

updated version of streamline_config.pl

From:  Steven Rostedt <rostedt@goodmis.org>
To:  LKML <linux-kernel@vger.kernel.org>
Subject:  [ANNOUNCE] updated version of streamline_config.pl
Date:  Wed, 29 Apr 2009 15:22:14 -0400 (EDT)
Message-ID:  <alpine.DEB.2.00.0904291508140.8066@gandalf.stny.rr.com>
Cc:  Andrew Morton <akpm@linux-foundation.org>, Linus Torvalds <torvalds@linux-foundation.org>, Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>, Peter Zijlstra <peterz@infradead.org>, Arnaldo Carvalho de Melo <acme@ghostprotocols.net>, Gregory Haskins <ghaskins@novell.com>, Theodore Tso <tytso@mit.edu>
Archive‑link:  Article


I've been stumbling over one of the failures of streamline config. The 
ability to add module configurations needed as a dependency for other 
modules, but do not have actual modules.

That is: If module a.ko is enabled by config CONFIG_A but depends on 
CONFIG_B, and there exists no b.ko for CONFIG_B, the script will keep 
CONFIG_A = m, but will not keep CONFIG_B = m and the "make oldconfig" will 
disable CONFIG_A.

This update solves this by not only reading the Makefiles, but it also 
reads the Kconfig* files to find all the depends for all configs. Now it 
will detect CONFIG_B is needed for CONFIG_A and keep both enabled.

The code is here:

 http://rostedt.homelinux.com/code/streamline_config.pl

And how to use it is at the top of the file.

Note, if people are still interested in adding this script to mainline, I 
can write up a patch to put it somewhere in the scripts/ directory.

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds