kernel_optimize_test/scripts/kconfig
Steven Rostedt cdfc47950a kconfig: search for a config to base the local(mod|yes)config on
Instead of using the .config in the local directory. This patch
changes streamline_config.pl to search various locations for a config.

Here's the list and order of search:

  /proc/config.gz
  /boot/vmlinuz-`uname -r`
  vmlinux  # local to the directory
  /lib/modules/`uname -r`/kernel/kernel/configs.ko
  kernel/configs.ko
  kernel/configs.o
  .config

Once it finds a file that contains a config (it checks if the binary
objects have configs first) it then uses it to create the .config
with minimum modules needed.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2009-08-18 22:02:00 -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
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
expr.h kconfig: struct property commented 2009-01-02 20:43:21 +01:00
gconf.c
gconf.glade
images.c
kconfig_load.c
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_proto.h kconfig: add named choice group 2008-04-28 23:05:48 +02:00
lkc.h kconfig: do not hardcode "include/config/auto.conf" filename 2009-06-09 22:37:51 +02:00
Makefile kconfig: add make localyesconfig option 2009-08-18 21:55:49 -04: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
qconf.cc kconfig: do not hardcode ".config" filename 2009-06-09 22:37:51 +02:00
qconf.h
streamline_config.pl kconfig: search for a config to base the local(mod|yes)config on 2009-08-18 22:02:00 -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
zconf.hash.c_shipped
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