aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/kconfig/lkc.h1
-rw-r--r--scripts/kconfig/mconf.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index 9b2706a41548..8a07ee4f6bd4 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -64,6 +64,7 @@ int zconf_lineno(void);
64char *zconf_curname(void); 64char *zconf_curname(void);
65 65
66/* confdata.c */ 66/* confdata.c */
67const char *conf_get_configname(void);
67char *conf_get_default_confname(void); 68char *conf_get_default_confname(void);
68void sym_set_change_count(int count); 69void sym_set_change_count(int count);
69void sym_add_change_count(int count); 70void sym_add_change_count(int count);
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)
905 init_wsize(); 905 init_wsize();
906 reset_dialog(); 906 reset_dialog();
907 init_dialog(NULL); 907 init_dialog(NULL);
908 set_config_filename(".config"); 908 set_config_filename(conf_get_configname());
909 do { 909 do {
910 conf(&rootmenu); 910 conf(&rootmenu);
911 dialog_clear(); 911 dialog_clear();