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