Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d802b50f0d63d2d18d8dae15d7e3285e99e7e7b6
Commit:     d802b50f0d63d2d18d8dae15d7e3285e99e7e7b6
Parent:     87c94bfb8ad354fb43d2caf870d7ca0b3f98dab3
Author:     Sam Ravnborg <[EMAIL PROTECTED]>
AuthorDate: Sun Apr 1 22:29:38 2007 +0200
Committer:  Sam Ravnborg <[EMAIL PROTECTED]>
CommitDate: Wed May 2 20:58:09 2007 +0200

    kconfig/menuconfig: do not hardcode '.config'
    
    Export and use the function conf_get_configname()
    to retreive the default configuration filename.
    
    Suggested by: Roman Zippel <[EMAIL PROTECTED]>
    
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
---
 scripts/kconfig/lkc.h   |    1 +
 scripts/kconfig/mconf.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index 9b2706a..8a07ee4 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -64,6 +64,7 @@ int zconf_lineno(void);
 char *zconf_curname(void);
 
 /* confdata.c */
+const char *conf_get_configname(void);
 char *conf_get_default_confname(void);
 void sym_set_change_count(int count);
 void sym_add_change_count(int count);
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index 462256d..d0e4fa5 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();
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to