summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/mconf.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@neptun.ravnborg.org>2007-04-01 22:29:38 +0200
committerSam Ravnborg <sam@ravnborg.org>2007-05-02 20:58:09 +0200
commitd802b50f0d63d2d18d8dae15d7e3285e99e7e7b6 (patch)
tree0bd7ed7e400b0b247046c27210a28f0d06e3a685 /scripts/kconfig/mconf.c
parentkbuild: override build timestamp & version (diff)
downloadlinux-d802b50f0d63d2d18d8dae15d7e3285e99e7e7b6.tar.xz
linux-d802b50f0d63d2d18d8dae15d7e3285e99e7e7b6.zip
kconfig/menuconfig: do not hardcode '.config'
Export and use the function conf_get_configname() to retreive the default configuration filename. Suggested by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/kconfig/mconf.c')
-rw-r--r--scripts/kconfig/mconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index 462256d72baa..d0e4fa594fc7 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -905,7 +905,7 @@ int main(int ac, char **av)
init_wsize();
reset_dialog();
init_dialog(NULL);
- set_config_filename(".config");
+ set_config_filename(conf_get_configname());
do {
conf(&rootmenu);
dialog_clear();