kernel-fxtec-pro1x/scripts/kconfig
Steven Rostedt dcc60243e7 kconfig: add streamline_config.pl to scripts
streamline_config.pl is a very powerful tool. For those that install
a kernel to a new box using the config file from the distribution know that
it can take forever to compile the kernel.

Making a custom config file that will still boot your box, but bring
down the compile time of the kernel can be quit painful, and to ask
someone that reported a bug to do this can be a large burdon since that
person may not even know how to build a kernel.

This script will perform "lsmod" to find all the modules loaded on the
current running system. It will read all the Makefiles to map which
CONFIG enables a module. It will read the Kconfig files to find the
dependencies and selects that may be needed to support a CONFIG.
Finally, it reads the .config file and removes any module "=m" that is
not needed to enable the currently loaded modules. The output goes to
standard out.

Here's a way to run the script. From the Linux directory that holds
a distribution .config.

 $ scripts/kconfig/streamline_config.pl arch/x86/Kconfig > config-sl
 $ mv .config config-save
 $ mv config-sl .config
 $ make oldconfig

Now you have a .config that will still build all your modules, but also
take much less time to build the kernel.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2009-08-18 21:49:43 -04:00
..
lxdialog kconfig: variable argument lists needs `stdarg.h' 2009-07-17 23:05:05 +02:00
.gitignore gitignore: ignore Kconfig i18n files 2009-06-09 22:37:47 +02:00
check.sh kbuild: check if we can link gettext not just compile 2007-10-12 21:13:50 +02:00
conf.c kconfig: do not hardcode ".config" filename 2009-06-09 22:37:51 +02:00
confdata.c kconfig: do not hardcode "include/config/auto.conf" filename 2009-06-09 22:37:51 +02:00
expr.c kconfig: tristate choices with mixed tristate and boolean values 2008-01-28 23:21:18 +01:00
expr.h kconfig: struct property commented 2009-01-02 20:43:21 +01:00
gconf.c kconfig: gconfig: symbol fix 2008-01-28 23:14:39 +01:00
gconf.glade [PATCH] kconfig: set gconf's save-widget's sensitivity according to .config's changed state 2006-12-13 09:05:48 -08:00
images.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kconfig_load.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kxgettext.c kconfig: fix update-po-config to accect backslash in input 2009-04-11 08:18:07 +02:00
lex.zconf.c_shipped kconfig: improve error messages for bad source statements 2009-01-02 20:43:22 +01:00
lkc.h kconfig: do not hardcode "include/config/auto.conf" filename 2009-06-09 22:37:51 +02:00
lkc_proto.h kconfig: add named choice group 2008-04-28 23:05:48 +02:00
Makefile kconfig: add a note about the deps to the 'silentoldconfig' help 2009-06-09 22:37:46 +02:00
mconf.c kconfig: initialize the screen before using curses(3) functions 2009-07-17 23:06:08 +02:00
menu.c kconfig: add named choice group 2008-04-28 23:05:48 +02:00
POTFILES.in kconfig: gettext support for lxdialog 2008-01-28 23:14:39 +01:00
qconf.cc kconfig: do not hardcode ".config" filename 2009-06-09 22:37:51 +02:00
qconf.h kconfig/xconfig: sync main view with search dialog current menu 2007-05-02 20:58:08 +02:00
streamline_config.pl kconfig: add streamline_config.pl to scripts 2009-08-18 21:49:43 -04:00
symbol.c kconfig: add named choice group 2008-04-28 23:05:48 +02:00
util.c kconfig: do not hardcode "include/config/auto.conf" filename 2009-06-09 22:37:51 +02:00
zconf.gperf kconfig: remove "enable" 2008-01-28 23:21:18 +01:00
zconf.hash.c_shipped kconfig: remove "enable" 2008-01-28 23:21:18 +01:00
zconf.l kconfig: improve error messages for bad source statements 2009-01-02 20:43:22 +01:00
zconf.tab.c_shipped kconfig: add named choice group 2008-04-28 23:05:48 +02:00
zconf.y kconfig: add named choice group 2008-04-28 23:05:48 +02:00