01-kconfig-kernel-to-buildroot.patch 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. ---
  2. confdata.c | 4 ++--
  3. gconf.glade | 2 +-
  4. mconf.c | 4 ++--
  5. zconf.tab.c_shipped | 2 +-
  6. zconf.y | 2 +-
  7. 5 files changed, 7 insertions(+), 7 deletions(-)
  8. Index: kconfig/gconf.glade
  9. ===================================================================
  10. --- kconfig.orig/gconf.glade
  11. +++ kconfig/gconf.glade
  12. @@ -4,7 +4,7 @@
  13. <widget class="GtkWindow" id="window1">
  14. <property name="visible">True</property>
  15. - <property name="title" translatable="yes">Gtk Kernel Configurator</property>
  16. + <property name="title" translatable="yes">Gtk Buildroot Configurator</property>
  17. <property name="type">GTK_WINDOW_TOPLEVEL</property>
  18. <property name="window_position">GTK_WIN_POS_NONE</property>
  19. <property name="modal">False</property>
  20. Index: kconfig/mconf.c
  21. ===================================================================
  22. --- kconfig.orig/mconf.c
  23. +++ kconfig/mconf.c
  24. @@ -176,9 +176,9 @@ menu_instructions[] = N_(
  25. "Arrow keys navigate the menu. "
  26. "<Enter> selects submenus ---> (or empty submenus ----). "
  27. "Highlighted letters are hotkeys. "
  28. - "Pressing <Y> includes, <N> excludes, <M> modularizes features. "
  29. + "Pressing <Y> selects a feature, while <N> excludes a feature. "
  30. "Press <Esc><Esc> to exit, <?> for Help, </> for Search. "
  31. - "Legend: [*] built-in [ ] excluded <M> module < > module capable"),
  32. + "Legend: [*] feature is selected [ ] feature is excluded"),
  33. radiolist_instructions[] = N_(
  34. "Use the arrow keys to navigate this window or "
  35. "press the hotkey of the item you wish to select "
  36. @@ -962,7 +962,7 @@ static int handle_exit(void)
  37. if (conf_get_changed())
  38. res = dialog_yesno(NULL,
  39. _("Do you wish to save your new configuration?\n"
  40. - "(Press <ESC><ESC> to continue kernel configuration.)"),
  41. + "(Press <ESC><ESC> to continue Buildroot configuration.)"),
  42. 6, 60);
  43. else
  44. res = -1;
  45. Index: kconfig/zconf.tab.c_shipped
  46. ===================================================================
  47. --- kconfig.orig/zconf.tab.c_shipped
  48. +++ kconfig/zconf.tab.c_shipped
  49. @@ -1515,7 +1515,7 @@ yyreduce:
  50. * later regardless of whether it comes from the 'prompt' in
  51. * mainmenu_stmt or here
  52. */
  53. - menu_add_prompt(P_MENU, xstrdup("Linux Kernel Configuration"), NULL);
  54. + menu_add_prompt(P_MENU, xstrdup("Buildroot Configuration"), NULL);
  55. }
  56. break;
  57. Index: kconfig/zconf.y
  58. ===================================================================
  59. --- kconfig.orig/zconf.y
  60. +++ kconfig/zconf.y
  61. @@ -127,7 +127,7 @@ no_mainmenu_stmt: /* empty */
  62. * later regardless of whether it comes from the 'prompt' in
  63. * mainmenu_stmt or here
  64. */
  65. - menu_add_prompt(P_MENU, xstrdup("Linux Kernel Configuration"), NULL);
  66. + menu_add_prompt(P_MENU, xstrdup("Buildroot Configuration"), NULL);
  67. };
  68. Index: kconfig/confdata.c
  69. ===================================================================
  70. --- kconfig.orig/confdata.c
  71. +++ kconfig/confdata.c
  72. @@ -30,7 +30,7 @@ static void conf_message(const char *fmt
  73. static const char *conf_filename;
  74. static int conf_lineno, conf_warnings;
  75. -const char conf_defname[] = "arch/$ARCH/defconfig";
  76. +const char conf_defname[] = ".defconfig";
  77. static void conf_warning(const char *fmt, ...)
  78. {
  79. @@ -69,7 +69,7 @@ static void conf_message(const char *fmt
  80. const char *conf_get_configname(void)
  81. {
  82. - char *name = getenv("KCONFIG_CONFIG");
  83. + char *name = getenv("BR2_CONFIG");
  84. return name ? name : ".config";
  85. }
  86. Index: kconfig/qconf.cc
  87. ===================================================================
  88. --- kconfig.orig/qconf.cc
  89. +++ kconfig/qconf.cc
  90. @@ -55,7 +55,7 @@ static inline QString qgettext(const QSt
  91. }
  92. ConfigSettings::ConfigSettings()
  93. - : QSettings("kernel.org", "qconf")
  94. + : QSettings("buildroot.org", "qconf")
  95. {
  96. }