kconfig: remove CONFIG_ references in search/help
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 5 Sep 2010 20:42:01 +0000 (22:42 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 5 Sep 2010 20:51:09 +0000 (22:51 +0200)
We use BR2_*, not CONFIG_* - So remove references to CONFIG_ in search/help
windows.

Long term we should probably consider doing s/^BR2_/CONFIG_/ to get rid
of all this though.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/config/mconf.c
package/config/menu.c
package/config/patches/01-kconfig-kernel-to-buildroot.patch

diff --git a/CHANGES b/CHANGES
index 35015046e01263f13d4115f8352102ee6f6b558a..76eb1050de9eb18c12f31687d45f36028976ad54 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,10 @@
 2010.11, Not yet released:
 
+       Fixes all over the tree.
+
+       Kconfig infrastructure rebased against 2.6.36-rc1, bringing
+       misc fixes + nconfig and savedefconfig targets.
+
 2010.08: Released August 31th, 2010:
 
        Fixes all over the tree.
index 3d1ed3ac45f6145aad8b5fe5faa23f3ac93e04d2..c0903ddff63652bd36b9921d8a4556f9b7c8f0ec 100644 (file)
@@ -315,8 +315,7 @@ static void search_conf(void)
 again:
        dialog_clear();
        dres = dialog_inputbox(_("Search Configuration Parameter"),
-                             _("Enter CONFIG_ (sub)string to search for "
-                               "(with or without \"CONFIG\")"),
+                             _("Enter (sub)string to search for"),
                              10, 75, "");
        switch (dres) {
        case 0:
index 4fb590247f330bb75215fe88eb749d42da8b489e..7f3b79705351849c0f1ed61ecb799eed3972ffe2 100644 (file)
@@ -566,7 +566,7 @@ void menu_get_ext_help(struct menu *menu, struct gstr *help)
 
        if (menu_has_help(menu)) {
                if (sym->name) {
-                       str_printf(help, "CONFIG_%s:\n\n", sym->name);
+                       str_printf(help, "%s:\n\n", sym->name);
                        str_append(help, _(menu_get_help(menu)));
                        str_append(help, "\n");
                }
index 4e4354a0c13df1ae2bb16d06c7e9964c49f69e69..f77a54ca9a8f8a38b529ffd02fcfafaacbd85176 100644 (file)
@@ -3,16 +3,16 @@
  confdata.c          |   12 ++++--------
  gconf.c             |    4 ++--
  gconf.glade         |    2 +-
- mconf.c             |   35 +++++++++++++++++------------------
+ mconf.c             |   38 ++++++++++++++++++--------------------
  qconf.cc            |    4 ++--
  zconf.tab.c_shipped |    2 +-
  zconf.y             |    2 +-
- 8 files changed, 34 insertions(+), 39 deletions(-)
+ 8 files changed, 35 insertions(+), 41 deletions(-)
 
-Index: config.new/conf.c
+Index: config/conf.c
 ===================================================================
---- config.new.orig/conf.c
-+++ config.new/conf.c
+--- config.orig/conf.c
++++ config/conf.c
 @@ -508,8 +508,8 @@
                name = conf_get_configname();
                if (stat(name, &tmpstat)) {
@@ -56,10 +56,10 @@ Index: config.new/conf.c
                        exit(1);
                }
        }
-Index: config.new/confdata.c
+Index: config/confdata.c
 ===================================================================
---- config.new.orig/confdata.c
-+++ config.new/confdata.c
+--- config.orig/confdata.c
++++ config/confdata.c
 @@ -579,7 +579,7 @@
        if (!out)
                return 1;
@@ -109,10 +109,10 @@ Index: config.new/confdata.c
  
        for_all_symbols(i, sym) {
                sym_calc_value(sym);
-Index: config.new/gconf.c
+Index: config/gconf.c
 ===================================================================
---- config.new.orig/gconf.c
-+++ config.new/gconf.c
+--- config.orig/gconf.c
++++ config/gconf.c
 @@ -210,8 +210,8 @@
                                          /*"style", PANGO_STYLE_OBLIQUE, */
                                          NULL);
@@ -124,10 +124,10 @@ Index: config.new/gconf.c
        gtk_window_set_title(GTK_WINDOW(main_wnd), title);
  
        gtk_widget_show(main_wnd);
-Index: config.new/gconf.glade
+Index: config/gconf.glade
 ===================================================================
---- config.new.orig/gconf.glade
-+++ config.new/gconf.glade
+--- config.orig/gconf.glade
++++ config/gconf.glade
 @@ -5,7 +5,7 @@
  
  <widget class="GtkWindow" id="window1">
@@ -137,10 +137,10 @@ Index: config.new/gconf.glade
    <property name="type">GTK_WINDOW_TOPLEVEL</property>
    <property name="window_position">GTK_WIN_POS_NONE</property>
    <property name="modal">False</property>
-Index: config.new/mconf.c
+Index: config/mconf.c
 ===================================================================
---- config.new.orig/mconf.c
-+++ config.new/mconf.c
+--- config.orig/mconf.c
++++ config/mconf.c
 @@ -25,10 +25,9 @@
  static const char mconf_readme[] = N_(
  "Overview\n"
@@ -220,7 +220,17 @@ Index: config.new/mconf.c
                        config_filename, sym_get_string_value(sym));
        if (size >= sizeof(menu_backtitle))
                menu_backtitle[sizeof(menu_backtitle)-1] = '\0';
-@@ -834,7 +833,7 @@
+@@ -316,8 +315,7 @@
+ again:
+       dialog_clear();
+       dres = dialog_inputbox(_("Search Configuration Parameter"),
+-                            _("Enter CONFIG_ (sub)string to search for "
+-                              "(with or without \"CONFIG\")"),
++                            _("Enter (sub)string to search for"),
+                             10, 75, "");
+       switch (dres) {
+       case 0:
+@@ -834,7 +832,7 @@
                if (conf_get_changed())
                        res = dialog_yesno(NULL,
                                           _("Do you wish to save your "
@@ -229,7 +239,7 @@ Index: config.new/mconf.c
                                             "<ESC><ESC> to continue."),
                                           6, 60);
                else
-@@ -846,20 +845,20 @@
+@@ -846,20 +844,20 @@
        case 0:
                if (conf_write(filename)) {
                        fprintf(stderr, _("\n\n"
@@ -255,10 +265,10 @@ Index: config.new/mconf.c
                        "\n\n"));
        }
  
-Index: config.new/qconf.cc
+Index: config/qconf.cc
 ===================================================================
---- config.new.orig/qconf.cc
-+++ config.new/qconf.cc
+--- config.orig/qconf.cc
++++ config/qconf.cc
 @@ -1263,8 +1263,8 @@
        char title[256];
  
@@ -270,10 +280,10 @@ Index: config.new/qconf.cc
        setCaption(title);
  
        width = configSettings->readNumEntry("/window width", d->width() - 64);
-Index: config.new/zconf.tab.c_shipped
+Index: config/zconf.tab.c_shipped
 ===================================================================
---- config.new.orig/zconf.tab.c_shipped
-+++ config.new/zconf.tab.c_shipped
+--- config.orig/zconf.tab.c_shipped
++++ config/zconf.tab.c_shipped
 @@ -2224,7 +2224,7 @@
        modules_sym = sym_lookup(NULL, 0);
        modules_sym->type = S_BOOLEAN;
@@ -283,10 +293,10 @@ Index: config.new/zconf.tab.c_shipped
  
  #if YYDEBUG
        if (getenv("ZCONF_DEBUG"))
-Index: config.new/zconf.y
+Index: config/zconf.y
 ===================================================================
---- config.new.orig/zconf.y
-+++ config.new/zconf.y
+--- config.orig/zconf.y
++++ config/zconf.y
 @@ -479,7 +479,7 @@
        modules_sym = sym_lookup(NULL, 0);
        modules_sym->type = S_BOOLEAN;